home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
99%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| TeX document text
| default
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| LaTeX auxiliary file, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 20 42 45 47 49 4e | 20 32 75 70 2e 74 65 78 |%% BEGIN| 2up.tex|
|00000010| 2f 32 75 70 2e 73 74 79 | 0a 25 25 0a 5c 64 65 66 |/2up.sty|.%%.\def|
|00000020| 5c 66 69 6c 65 76 65 72 | 73 69 6f 6e 7b 31 2e 32 |\filever|sion{1.2|
|00000030| 7d 0a 5c 64 65 66 5c 66 | 69 6c 65 64 61 74 65 7b |}.\def\f|iledate{|
|00000040| 39 33 2f 30 31 2f 32 38 | 7d 0a 25 25 0a 25 25 20 |93/01/28|}.%%.%% |
|00000050| 43 4f 50 59 52 49 47 48 | 54 20 31 39 39 32 2c 20 |COPYRIGH|T 1992, |
|00000060| 31 39 39 33 20 62 79 20 | 54 69 6d 6f 74 68 79 20 |1993 by |Timothy |
|00000070| 56 61 6e 20 5a 61 6e 64 | 74 2c 20 74 76 7a 40 50 |Van Zand|t, tvz@P|
|00000080| 72 69 6e 63 65 74 6f 6e | 2e 45 44 55 0a 25 25 0a |rinceton|.EDU.%%.|
|00000090| 25 25 20 44 45 53 43 52 | 49 50 54 49 4f 4e 3a 0a |%% DESCR|IPTION:.|
|000000a0| 25 25 20 20 20 32 75 70 | 2e 74 65 78 2f 32 75 70 |%% 2up|.tex/2up|
|000000b0| 2e 73 74 79 20 70 72 6f | 76 69 64 65 73 20 74 77 |.sty pro|vides tw|
|000000c0| 6f 2d 75 70 20 70 72 69 | 6e 74 69 6e 67 20 66 6f |o-up pri|nting fo|
|000000d0| 72 20 47 65 6e 65 72 69 | 63 20 54 65 58 20 28 65 |r Generi|c TeX (e|
|000000e0| 2e 67 2e 2c 0a 25 25 20 | 20 20 50 6c 61 69 6e 2c |.g.,.%% | Plain,|
|000000f0| 20 4c 61 54 65 58 2c 20 | 41 6d 53 54 65 58 20 61 | LaTeX, |AmSTeX a|
|00000100| 6e 64 20 41 6d 53 2d 4c | 61 54 65 58 29 2e 20 49 |nd AmS-L|aTeX). I|
|00000110| 74 20 70 72 6f 64 75 63 | 65 73 20 61 20 73 74 61 |t produc|es a sta|
|00000120| 6e 64 61 72 64 20 64 76 | 69 20 66 69 6c 65 2c 0a |ndard dv|i file,.|
|00000130| 25 25 20 20 20 61 6e 64 | 20 64 6f 65 73 20 6e 6f |%% and| does no|
|00000140| 74 20 69 6e 76 6f 6c 76 | 65 20 61 6e 20 61 64 64 |t involv|e an add|
|00000150| 69 74 69 6f 6e 61 6c 20 | 64 76 69 20 6f 72 20 50 |itional |dvi or P|
|00000160| 6f 73 74 53 63 72 69 70 | 74 20 66 69 6c 74 65 72 |ostScrip|t filter|
|00000170| 2e 20 49 74 20 68 61 73 | 20 61 0a 25 25 20 20 20 |. It has| a.%% |
|00000180| 66 6c 65 78 69 62 6c 65 | 20 69 6e 74 65 72 66 61 |flexible| interfa|
|00000190| 63 65 20 66 6f 72 20 73 | 70 65 63 69 66 79 69 6e |ce for s|pecifyin|
|000001a0| 67 20 70 61 70 65 72 20 | 73 69 7a 65 20 61 6e 64 |g paper |size and|
|000001b0| 20 6c 61 79 6f 75 74 2e | 0a 25 25 0a 25 25 20 49 | layout.|.%%.%% I|
|000001c0| 4e 53 54 41 4c 4c 41 54 | 49 4f 4e 3a 0a 25 25 20 |NSTALLAT|ION:.%% |
|000001d0| 20 20 50 75 74 20 74 68 | 69 73 20 66 69 6c 65 20 | Put th|is file |
|000001e0| 77 68 65 72 65 20 79 6f | 75 72 20 54 65 58 20 6c |where yo|ur TeX l|
|000001f0| 6f 6f 6b 73 20 66 6f 72 | 20 69 6e 70 75 74 73 2c |ooks for| inputs,|
|00000200| 20 75 6e 64 65 72 20 74 | 68 65 20 6e 61 6d 65 20 | under t|he name |
|00000210| 32 75 70 2e 74 65 78 2e | 0a 25 25 20 20 20 4e 61 |2up.tex.|.%% Na|
|00000220| 6d 65 20 61 20 63 6f 70 | 79 20 32 75 70 2e 73 74 |me a cop|y 2up.st|
|00000230| 79 20 74 6f 20 75 73 65 | 20 61 73 20 61 20 4c 61 |y to use| as a La|
|00000240| 54 65 58 20 73 74 79 6c | 65 20 6f 70 74 69 6f 6e |TeX styl|e option|
|00000250| 2c 20 6f 72 20 63 72 65 | 61 74 65 20 61 20 66 69 |, or cre|ate a fi|
|00000260| 6c 65 0a 25 25 20 20 20 | 32 75 70 2e 73 74 79 20 |le.%% |2up.sty |
|00000270| 77 69 74 68 20 74 68 65 | 20 6c 69 6e 65 73 3a 0a |with the| lines:.|
|00000280| 25 25 20 20 20 20 20 5c | 69 6e 70 75 74 20 32 75 |%% \|input 2u|
|00000290| 70 2e 74 65 78 0a 25 25 | 20 20 20 20 20 5c 65 6e |p.tex.%%| \en|
|000002a0| 64 69 6e 70 75 74 0a 25 | 25 0a 25 25 20 44 4f 43 |dinput.%|%.%% DOC|
|000002b0| 55 4d 45 4e 54 41 54 49 | 4f 4e 3a 0a 25 25 20 20 |UMENTATI|ON:.%% |
|000002c0| 20 49 6e 70 75 74 20 32 | 75 70 2e 74 65 78 2c 20 | Input 2|up.tex, |
|000002d0| 6f 72 20 69 6e 63 6c 75 | 64 65 20 32 75 70 20 61 |or inclu|de 2up a|
|000002e0| 73 20 61 20 4c 61 54 65 | 58 20 73 74 79 6c 65 20 |s a LaTe|X style |
|000002f0| 6f 70 74 69 6f 6e 2e 20 | 54 68 65 72 65 20 69 73 |option. |There is|
|00000300| 20 61 0a 25 25 20 20 20 | 67 6f 6f 64 20 63 68 61 | a.%% |good cha|
|00000310| 6e 63 65 20 79 6f 75 20 | 77 69 6c 6c 20 67 65 74 |nce you |will get|
|00000320| 20 74 68 65 20 64 65 73 | 69 72 65 64 20 6c 61 79 | the des|ired lay|
|00000330| 6f 75 74 2e 20 28 42 75 | 74 20 79 6f 75 20 77 69 |out. (Bu|t you wi|
|00000340| 6c 6c 20 70 72 6f 62 61 | 62 6c 79 0a 25 25 20 20 |ll proba|bly.%% |
|00000350| 20 6e 65 65 64 20 74 6f | 20 67 65 6e 65 72 61 74 | need to| generat|
|00000360| 65 20 6e 65 77 20 66 6f | 6e 74 20 62 69 74 6d 61 |e new fo|nt bitma|
|00000370| 70 73 20 74 6f 20 67 65 | 74 20 68 69 67 68 20 71 |ps to ge|t high q|
|00000380| 75 61 6c 69 74 79 20 6f | 75 74 70 75 74 2e 29 20 |uality o|utput.) |
|00000390| 53 65 65 0a 25 25 20 20 | 20 32 75 70 2e 64 6f 63 |See.%% | 2up.doc|
|000003a0| 2c 20 77 68 69 63 68 20 | 6d 69 67 68 74 20 62 65 |, which |might be|
|000003b0| 20 61 70 70 65 6e 64 65 | 64 20 74 6f 20 74 68 69 | appende|d to thi|
|000003c0| 73 20 66 69 6c 65 2c 20 | 66 6f 72 20 64 65 74 61 |s file, |for deta|
|000003d0| 69 6c 65 64 0a 25 25 20 | 20 20 64 6f 63 75 6d 65 |iled.%% | docume|
|000003e0| 6e 74 61 74 69 6f 6e 2e | 0a 25 25 0a 25 25 20 43 |ntation.|.%%.%% C|
|000003f0| 4f 50 59 49 4e 47 3a 0a | 25 25 20 20 20 43 6f 70 |OPYING:.|%% Cop|
|00000400| 79 69 6e 67 20 6f 66 20 | 70 61 72 74 20 6f 72 20 |ying of |part or |
|00000410| 61 6c 6c 20 6f 66 20 74 | 68 69 73 20 66 69 6c 65 |all of t|his file|
|00000420| 20 69 73 20 61 6c 6c 6f | 77 65 64 20 75 6e 64 65 | is allo|wed unde|
|00000430| 72 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 0a |r the fo|llowing.|
|00000440| 25 25 20 20 20 63 6f 6e | 64 69 74 69 6f 6e 73 20 |%% con|ditions |
|00000450| 6f 6e 6c 79 3a 0a 25 25 | 20 20 20 28 31 29 20 59 |only:.%%| (1) Y|
|00000460| 6f 75 20 6d 61 79 20 66 | 72 65 65 6c 79 20 64 69 |ou may f|reely di|
|00000470| 73 74 72 69 62 75 74 65 | 20 75 6e 63 68 61 6e 67 |stribute| unchang|
|00000480| 65 64 20 63 6f 70 69 65 | 73 20 6f 66 20 74 68 65 |ed copie|s of the|
|00000490| 20 66 69 6c 65 2e 20 50 | 6c 65 61 73 65 0a 25 25 | file. P|lease.%%|
|000004a0| 20 20 20 20 20 20 20 69 | 6e 63 6c 75 64 65 20 74 | i|nclude t|
|000004b0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|000004c0| 20 77 68 65 6e 20 79 6f | 75 20 64 6f 20 73 6f 2e | when yo|u do so.|
|000004d0| 0a 25 25 20 20 20 28 32 | 29 20 59 6f 75 20 6d 61 |.%% (2|) You ma|
|000004e0| 79 20 6d 6f 64 69 66 79 | 20 61 20 72 65 6e 61 6d |y modify| a renam|
|000004f0| 65 64 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 66 |ed copy |of the f|
|00000500| 69 6c 65 2c 20 62 75 74 | 20 6f 6e 6c 79 20 66 6f |ile, but| only fo|
|00000510| 72 20 70 65 72 73 6f 6e | 61 6c 0a 25 25 20 20 20 |r person|al.%% |
|00000520| 20 20 20 20 75 73 65 20 | 6f 72 20 75 73 65 20 77 | use |or use w|
|00000530| 69 74 68 69 6e 20 61 6e | 20 6f 72 67 61 6e 69 7a |ithin an| organiz|
|00000540| 61 74 69 6f 6e 2e 0a 25 | 25 20 20 20 28 33 29 20 |ation..%|% (3) |
|00000550| 59 6f 75 20 6d 61 79 20 | 63 6f 70 79 20 66 72 61 |You may |copy fra|
|00000560| 67 6d 65 6e 74 73 20 66 | 72 6f 6d 20 74 68 65 20 |gments f|rom the |
|00000570| 66 69 6c 65 2c 20 66 6f | 72 20 70 65 72 73 6f 6e |file, fo|r person|
|00000580| 61 6c 20 75 73 65 20 6f | 72 20 66 6f 72 20 75 73 |al use o|r for us|
|00000590| 65 0a 25 25 20 20 20 20 | 20 20 20 69 6e 20 61 20 |e.%% | in a |
|000005a0| 6d 61 63 72 6f 20 70 61 | 63 6b 61 67 65 20 66 6f |macro pa|ckage fo|
|000005b0| 72 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 2c 20 |r distri|bution, |
|000005c0| 61 73 20 6c 6f 6e 67 20 | 61 73 20 63 72 65 64 69 |as long |as credi|
|000005d0| 74 20 69 73 20 67 69 76 | 65 6e 0a 25 25 20 20 20 |t is giv|en.%% |
|000005e0| 20 20 20 20 77 68 65 72 | 65 20 63 72 65 64 69 74 | wher|e credit|
|000005f0| 20 69 73 20 64 75 65 2e | 0a 25 25 0a 25 25 20 20 | is due.|.%%.%% |
|00000600| 20 59 6f 75 20 61 72 65 | 20 4e 4f 54 20 41 4c 4c | You are| NOT ALL|
|00000610| 4f 57 45 44 20 74 6f 20 | 74 61 6b 65 20 6d 6f 6e |OWED to |take mon|
|00000620| 65 79 20 66 6f 72 20 74 | 68 65 20 64 69 73 74 72 |ey for t|he distr|
|00000630| 69 62 75 74 69 6f 6e 20 | 6f 72 20 75 73 65 20 6f |ibution |or use o|
|00000640| 66 0a 25 25 20 20 20 74 | 68 69 73 20 66 69 6c 65 |f.%% t|his file|
|00000650| 20 6f 72 20 6d 6f 64 69 | 66 69 65 64 20 76 65 72 | or modi|fied ver|
|00000660| 73 69 6f 6e 73 20 6f 72 | 20 66 72 61 67 6d 65 6e |sions or| fragmen|
|00000670| 74 73 20 74 68 65 72 65 | 6f 66 2c 20 65 78 63 65 |ts there|of, exce|
|00000680| 70 74 20 66 6f 72 0a 25 | 25 20 20 20 61 20 6e 6f |pt for.%|% a no|
|00000690| 6d 69 6e 61 6c 20 63 68 | 61 72 67 65 20 66 6f 72 |minal ch|arge for|
|000006a0| 20 63 6f 70 79 69 6e 67 | 20 65 74 63 2e 0a 25 25 | copying| etc..%%|
|000006b0| 0a 25 25 20 43 4f 44 45 | 3a 0a 25 0a 5c 63 73 6e |.%% CODE|:.%.\csn|
|000006c0| 61 6d 65 20 54 77 6f 55 | 70 4c 6f 61 64 65 64 5c |ame TwoU|pLoaded\|
|000006d0| 65 6e 64 63 73 6e 61 6d | 65 0a 5c 6c 65 74 5c 54 |endcsnam|e.\let\T|
|000006e0| 77 6f 55 70 4c 6f 61 64 | 65 64 5c 65 6e 64 69 6e |woUpLoad|ed\endin|
|000006f0| 70 75 74 0a 25 0a 5c 65 | 64 65 66 5c 54 68 65 41 |put.%.\e|def\TheA|
|00000700| 74 43 6f 64 65 7b 5c 74 | 68 65 5c 63 61 74 63 6f |tCode{\t|he\catco|
|00000710| 64 65 60 5c 40 7d 0a 5c | 63 61 74 63 6f 64 65 60 |de`\@}.\|catcode`|
|00000720| 5c 40 3d 31 31 5c 72 65 | 6c 61 78 0a 5c 6d 65 73 |\@=11\re|lax.\mes|
|00000730| 73 61 67 65 7b 5c 73 70 | 61 63 65 5c 73 70 61 63 |sage{\sp|ace\spac|
|00000740| 65 20 76 5c 66 69 6c 65 | 76 65 72 73 69 6f 6e 5c |e v\file|version\|
|00000750| 73 70 61 63 65 5c 73 70 | 61 63 65 20 5c 66 69 6c |space\sp|ace \fil|
|00000760| 65 64 61 74 65 5c 73 70 | 61 63 65 5c 73 70 61 63 |edate\sp|ace\spac|
|00000770| 65 20 3c 74 76 7a 3e 7d | 0a 25 0a 25 20 50 61 72 |e <tvz>}|.%.% Par|
|00000780| 61 6d 65 74 65 72 20 72 | 65 67 69 73 74 65 72 73 |ameter r|egisters|
|00000790| 3a 0a 5c 6e 65 77 64 69 | 6d 65 6e 5c 40 74 61 72 |:.\newdi|men\@tar|
|000007a0| 67 65 74 77 69 64 74 68 | 0a 5c 6e 65 77 64 69 6d |getwidth|.\newdim|
|000007b0| 65 6e 5c 40 74 61 72 67 | 65 74 68 65 69 67 68 74 |en\@targ|etheight|
|000007c0| 0a 5c 6e 65 77 64 69 6d | 65 6e 5c 40 73 6f 75 72 |.\newdim|en\@sour|
|000007d0| 63 65 77 69 64 74 68 0a | 5c 6e 65 77 64 69 6d 65 |cewidth.|\newdime|
|000007e0| 6e 5c 40 73 6f 75 72 63 | 65 68 65 69 67 68 74 0a |n\@sourc|eheight.|
|000007f0| 5c 6e 65 77 64 69 6d 65 | 6e 5c 70 61 67 65 73 65 |\newdime|n\pagese|
|00000800| 70 6c 65 6e 67 74 68 0a | 5c 6e 65 77 64 69 6d 65 |plength.|\newdime|
|00000810| 6e 5c 70 61 67 65 73 65 | 70 77 69 64 74 68 0a 5c |n\pagese|pwidth.\|
|00000820| 6e 65 77 64 69 6d 65 6e | 5c 70 61 67 65 73 65 70 |newdimen|\pagesep|
|00000830| 6f 66 66 73 65 74 0a 5c | 6e 65 77 69 66 5c 69 66 |offset.\|newif\if|
|00000840| 40 73 69 64 65 62 79 73 | 69 64 65 0a 5c 40 73 69 |@sidebys|ide.\@si|
|00000850| 64 65 62 79 73 69 64 65 | 74 72 75 65 0a 5c 6e 65 |debyside|true.\ne|
|00000860| 77 69 66 5c 69 66 40 74 | 77 6f 73 69 64 65 64 0a |wif\if@t|wosided.|
|00000870| 25 0a 25 20 52 65 67 69 | 73 74 65 72 73 20 75 73 |%.% Regi|sters us|
|00000880| 65 64 20 62 79 20 6f 75 | 74 70 75 74 20 72 6f 75 |ed by ou|tput rou|
|00000890| 74 69 6e 65 2e 0a 5c 6e | 65 77 69 66 5c 69 66 40 |tine..\n|ewif\if@|
|000008a0| 6c 65 66 74 70 61 67 65 | 0a 5c 40 6c 65 66 74 70 |leftpage|.\@leftp|
|000008b0| 61 67 65 74 72 75 65 0a | 5c 6e 65 77 62 6f 78 5c |agetrue.|\newbox\|
|000008c0| 40 6c 65 66 74 70 61 67 | 65 0a 5c 6e 65 77 62 6f |@leftpag|e.\newbo|
|000008d0| 78 5c 40 72 69 67 68 74 | 70 61 67 65 0a 5c 6e 65 |x\@right|page.\ne|
|000008e0| 77 63 6f 75 6e 74 5c 40 | 70 68 79 73 69 63 61 6c |wcount\@|physical|
|000008f0| 70 61 67 65 0a 25 0a 25 | 20 53 69 6e 63 65 20 70 |page.%.%| Since p|
|00000900| 61 67 65 73 20 61 72 65 | 20 73 68 69 70 70 65 64 |ages are| shipped|
|00000910| 20 6f 75 74 20 68 61 6c | 66 20 61 73 20 6f 66 74 | out hal|f as oft|
|00000920| 65 6e 3a 0a 5c 6d 75 6c | 74 69 70 6c 79 5c 6d 61 |en:.\mul|tiply\ma|
|00000930| 78 64 65 61 64 63 79 63 | 6c 65 73 20 62 79 20 32 |xdeadcyc|les by 2|
|00000940| 0a 25 0a 25 20 52 65 67 | 69 73 74 65 72 73 20 75 |.%.% Reg|isters u|
|00000950| 73 65 64 20 6f 6e 6c 79 | 20 66 6f 72 20 62 6f 6f |sed only| for boo|
|00000960| 6b 6c 65 74 20 6c 61 79 | 6f 75 74 3a 0a 5c 62 65 |klet lay|out:.\be|
|00000970| 67 69 6e 67 72 6f 75 70 | 0a 20 20 5c 6c 65 74 5c |gingroup|. \let\|
|00000980| 6e 65 77 63 6f 75 6e 74 | 5c 72 65 6c 61 78 0a 20 |newcount|\relax. |
|00000990| 20 5c 67 64 65 66 5c 62 | 6f 6f 6b 6c 65 74 40 72 | \gdef\b|ooklet@r|
|000009a0| 65 67 69 73 74 65 72 73 | 7b 25 0a 20 20 20 20 5c |egisters|{%. \|
|000009b0| 6e 65 77 63 6f 75 6e 74 | 5c 62 6f 6f 6b 6c 65 74 |newcount|\booklet|
|000009c0| 70 61 67 65 0a 20 20 20 | 20 5c 62 6f 6f 6b 6c 65 |page. | \bookle|
|000009d0| 74 70 61 67 65 3d 30 0a | 20 20 20 20 5c 6e 65 77 |tpage=0.| \new|
|000009e0| 63 6f 75 6e 74 5c 6c 65 | 66 74 70 61 67 65 6e 75 |count\le|ftpagenu|
|000009f0| 6d 62 65 72 0a 20 20 20 | 20 5c 6e 65 77 63 6f 75 |mber. | \newcou|
|00000a00| 6e 74 5c 72 69 67 68 74 | 70 61 67 65 6e 75 6d 62 |nt\right|pagenumb|
|00000a10| 65 72 0a 20 20 20 20 5c | 6d 75 6c 74 69 70 6c 79 |er. \|multiply|
|00000a20| 5c 6d 61 78 64 65 61 64 | 63 79 63 6c 65 73 20 62 |\maxdead|cycles b|
|00000a30| 79 20 32 30 7d 0a 5c 65 | 6e 64 67 72 6f 75 70 0a |y 20}.\e|ndgroup.|
|00000a40| 25 0a 25 20 41 20 75 73 | 65 66 75 6c 20 65 78 74 |%.% A us|eful ext|
|00000a50| 65 6e 73 69 6f 6e 20 6f | 66 20 74 68 65 20 5c 6d |ension o|f the \m|
|00000a60| 61 67 73 74 65 70 20 6d | 61 63 72 6f 2e 0a 5c 64 |agstep m|acro..\d|
|00000a70| 65 66 5c 6d 61 67 73 74 | 65 70 6d 69 6e 75 73 23 |ef\magst|epminus#|
|00000a80| 31 7b 25 0a 20 20 5c 69 | 66 63 61 73 65 23 31 20 |1{%. \i|fcase#1 |
|00000a90| 5c 40 6d 5c 6f 72 20 38 | 33 33 5c 6f 72 20 36 39 |\@m\or 8|33\or 69|
|00000aa0| 34 5c 6f 72 20 35 37 39 | 5c 6f 72 20 34 38 32 5c |4\or 579|\or 482\|
|00000ab0| 6f 72 20 34 30 31 5c 66 | 69 5c 72 65 6c 61 78 7d |or 401\f|i\relax}|
|00000ac0| 0a 25 0a 25 20 5c 40 74 | 61 72 67 65 74 77 69 64 |.%.% \@t|argetwid|
|00000ad0| 74 68 20 61 6e 64 20 5c | 40 74 61 72 67 65 74 68 |th and \|@targeth|
|00000ae0| 65 69 67 68 74 20 61 72 | 65 20 73 65 74 20 74 6f |eight ar|e set to|
|00000af0| 20 74 68 65 20 2a 75 6e | 6d 61 67 6e 69 66 69 65 | the *un|magnifie|
|00000b00| 64 2a 20 64 69 6d 65 6e | 73 69 6f 6e 73 0a 25 20 |d* dimen|sions.% |
|00000b10| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 70 61 |of the t|arget pa|
|00000b20| 67 65 2e 20 5c 69 6e 76 | 40 74 61 72 67 65 74 6d |ge. \inv|@targetm|
|00000b30| 61 67 20 69 73 20 74 68 | 65 20 69 6e 76 65 72 73 |ag is th|e invers|
|00000b40| 65 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 0a |e of the| target.|
|00000b50| 25 20 6d 61 67 6e 69 66 | 69 63 61 74 69 6f 6e 2e |% magnif|ication.|
|00000b60| 0a 7b 5c 63 61 74 63 6f | 64 65 60 5c 70 3d 31 32 |.{\catco|de`\p=12|
|00000b70| 5c 63 61 74 63 6f 64 65 | 60 5c 74 3d 31 32 5c 67 |\catcode|`\t=12\g|
|00000b80| 64 65 66 5c 40 40 69 6e | 76 40 40 6d 61 67 23 31 |def\@@in|v@@mag#1|
|00000b90| 70 74 23 32 7b 5c 64 65 | 66 23 32 7b 23 31 7d 7d |pt#2{\de|f#2{#1}}|
|00000ba0| 7d 0a 5c 64 65 66 5c 74 | 61 72 67 65 74 23 31 23 |}.\def\t|arget#1#|
|00000bb0| 32 23 33 7b 25 0a 20 20 | 5c 6d 61 67 20 23 31 5c |2#3{%. |\mag #1\|
|00000bc0| 72 65 6c 61 78 0a 20 20 | 5c 40 74 61 72 67 65 74 |relax. |\@target|
|00000bd0| 77 69 64 74 68 3d 31 30 | 30 30 70 74 0a 20 20 5c |width=10|00pt. \|
|00000be0| 64 69 76 69 64 65 5c 40 | 74 61 72 67 65 74 77 69 |divide\@|targetwi|
|00000bf0| 64 74 68 20 62 79 20 23 | 31 5c 72 65 6c 61 78 0a |dth by #|1\relax.|
|00000c00| 20 20 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 40 | \expan|dafter\@|
|00000c10| 40 69 6e 76 40 40 6d 61 | 67 5c 74 68 65 5c 40 74 |@inv@@ma|g\the\@t|
|00000c20| 61 72 67 65 74 77 69 64 | 74 68 5c 69 6e 76 40 74 |argetwid|th\inv@t|
|00000c30| 61 72 67 65 74 6d 61 67 | 0a 20 20 5c 40 74 61 72 |argetmag|. \@tar|
|00000c40| 67 65 74 77 69 64 74 68 | 3d 23 32 5c 72 65 6c 61 |getwidth|=#2\rela|
|00000c50| 78 0a 20 20 5c 40 74 61 | 72 67 65 74 77 69 64 74 |x. \@ta|rgetwidt|
|00000c60| 68 3d 5c 69 6e 76 40 74 | 61 72 67 65 74 6d 61 67 |h=\inv@t|argetmag|
|00000c70| 5c 40 74 61 72 67 65 74 | 77 69 64 74 68 0a 20 20 |\@target|width. |
|00000c80| 5c 40 74 61 72 67 65 74 | 68 65 69 67 68 74 3d 23 |\@target|height=#|
|00000c90| 33 5c 72 65 6c 61 78 0a | 20 20 5c 40 74 61 72 67 |3\relax.| \@targ|
|00000ca0| 65 74 68 65 69 67 68 74 | 3d 5c 69 6e 76 40 74 61 |etheight|=\inv@ta|
|00000cb0| 72 67 65 74 6d 61 67 5c | 40 74 61 72 67 65 74 68 |rgetmag\|@targeth|
|00000cc0| 65 69 67 68 74 7d 0a 25 | 0a 25 20 4c 69 6b 65 20 |eight}.%|.% Like |
|00000cd0| 5c 74 61 72 67 65 74 2c | 20 62 75 74 20 66 6f 72 |\target,| but for|
|00000ce0| 20 74 68 65 20 73 6f 75 | 72 63 65 3a 0a 5c 64 65 | the sou|rce:.\de|
|00000cf0| 66 5c 73 6f 75 72 63 65 | 23 31 23 32 23 33 7b 25 |f\source|#1#2#3{%|
|00000d00| 0a 20 20 5c 40 73 6f 75 | 72 63 65 77 69 64 74 68 |. \@sou|rcewidth|
|00000d10| 3d 31 30 30 30 70 74 0a | 20 20 5c 64 69 76 69 64 |=1000pt.| \divid|
|00000d20| 65 5c 40 73 6f 75 72 63 | 65 77 69 64 74 68 20 62 |e\@sourc|ewidth b|
|00000d30| 79 20 23 31 5c 72 65 6c | 61 78 0a 20 20 5c 65 78 |y #1\rel|ax. \ex|
|00000d40| 70 61 6e 64 61 66 74 65 | 72 5c 40 40 69 6e 76 40 |pandafte|r\@@inv@|
|00000d50| 40 6d 61 67 5c 74 68 65 | 5c 40 73 6f 75 72 63 65 |@mag\the|\@source|
|00000d60| 77 69 64 74 68 5c 69 6e | 76 40 73 6f 75 72 63 65 |width\in|v@source|
|00000d70| 6d 61 67 0a 20 20 5c 40 | 73 6f 75 72 63 65 77 69 |mag. \@|sourcewi|
|00000d80| 64 74 68 3d 23 32 5c 72 | 65 6c 61 78 0a 20 20 5c |dth=#2\r|elax. \|
|00000d90| 40 73 6f 75 72 63 65 77 | 69 64 74 68 3d 5c 69 6e |@sourcew|idth=\in|
|00000da0| 76 40 73 6f 75 72 63 65 | 6d 61 67 5c 40 73 6f 75 |v@source|mag\@sou|
|00000db0| 72 63 65 77 69 64 74 68 | 0a 20 20 5c 40 73 6f 75 |rcewidth|. \@sou|
|00000dc0| 72 63 65 68 65 69 67 68 | 74 3d 23 33 5c 72 65 6c |rceheigh|t=#3\rel|
|00000dd0| 61 78 0a 20 20 5c 40 73 | 6f 75 72 63 65 68 65 69 |ax. \@s|ourcehei|
|00000de0| 67 68 74 3d 5c 69 6e 76 | 40 73 6f 75 72 63 65 6d |ght=\inv|@sourcem|
|00000df0| 61 67 5c 40 73 6f 75 72 | 63 65 68 65 69 67 68 74 |ag\@sour|ceheight|
|00000e00| 7d 0a 25 0a 25 20 5c 74 | 61 72 67 65 74 6c 61 79 |}.%.% \t|argetlay|
|00000e10| 6f 75 74 20 64 6f 65 73 | 20 61 20 6c 6f 6f 70 20 |out does| a loop |
|00000e20| 74 68 61 74 20 72 65 61 | 64 73 20 74 68 65 20 63 |that rea|ds the c|
|00000e30| 6f 6d 6d 61 20 73 65 70 | 61 72 61 74 65 64 20 61 |omma sep|arated a|
|00000e40| 72 67 75 6d 65 6e 74 73 | 2e 0a 25 20 54 68 65 72 |rguments|..% Ther|
|00000e50| 65 20 63 61 6e 20 62 65 | 20 6e 6f 20 65 78 74 72 |e can be| no extr|
|00000e60| 61 6e 65 6f 75 73 20 73 | 70 61 63 65 73 2e 0a 5c |aneous s|paces..\|
|00000e70| 64 65 66 5c 74 61 72 67 | 65 74 6c 61 79 6f 75 74 |def\targ|etlayout|
|00000e80| 23 31 7b 5c 70 72 6f 63 | 65 73 73 40 74 61 72 67 |#1{\proc|ess@targ|
|00000e90| 65 74 6c 61 79 6f 75 74 | 23 31 2c 73 74 6f 70 2c |etlayout|#1,stop,|
|00000ea0| 7d 0a 5c 64 65 66 5c 70 | 72 6f 63 65 73 73 40 74 |}.\def\p|rocess@t|
|00000eb0| 61 72 67 65 74 6c 61 79 | 6f 75 74 23 31 2c 7b 25 |argetlay|out#1,{%|
|00000ec0| 0a 20 20 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c |. \expa|ndafter\|
|00000ed0| 6c 65 74 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c |let\expa|ndafter\|
|00000ee0| 6e 65 78 74 5c 63 73 6e | 61 6d 65 20 74 61 72 67 |next\csn|ame targ|
|00000ef0| 65 74 40 23 31 5c 65 6e | 64 63 73 6e 61 6d 65 0a |et@#1\en|dcsname.|
|00000f00| 20 20 5c 69 66 78 5c 6e | 65 78 74 5c 72 65 6c 61 | \ifx\n|ext\rela|
|00000f10| 78 0a 20 20 20 20 5c 62 | 65 67 69 6e 67 72 6f 75 |x. \b|egingrou|
|00000f20| 70 0a 20 20 20 20 20 20 | 5c 65 72 72 68 65 6c 70 |p. |\errhelp|
|00000f30| 7b 56 61 6c 69 64 20 74 | 61 72 67 65 74 20 6c 61 |{Valid t|arget la|
|00000f40| 79 6f 75 74 73 20 61 72 | 65 20 22 74 6f 70 62 6f |youts ar|e "topbo|
|00000f50| 74 74 6f 6d 22 2c 20 22 | 74 77 6f 73 69 64 65 64 |ttom", "|twosided|
|00000f60| 22 2c 0a 20 20 20 20 20 | 20 20 20 22 62 6f 6f 6b |",. | "book|
|00000f70| 6c 65 74 22 2c 20 22 42 | 6f 6f 6b 6c 65 74 22 20 |let", "B|ooklet" |
|00000f80| 61 6e 64 20 22 64 76 69 | 64 76 69 22 2e 7d 25 0a |and "dvi|dvi".}%.|
|00000f90| 20 20 20 20 20 20 5c 65 | 72 72 6d 65 73 73 61 67 | \e|rrmessag|
|00000fa0| 65 7b 60 23 31 27 20 69 | 73 20 69 6e 76 61 6c 69 |e{`#1' i|s invali|
|00000fb0| 64 20 32 75 70 20 74 61 | 72 67 65 74 20 6c 61 79 |d 2up ta|rget lay|
|00000fc0| 6f 75 74 20 2d 20 69 67 | 6e 6f 72 65 64 2e 7d 25 |out - ig|nored.}%|
|00000fd0| 0a 20 20 20 20 5c 65 6e | 64 67 72 6f 75 70 0a 20 |. \en|dgroup. |
|00000fe0| 20 20 20 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c | \expa|ndafter\|
|00000ff0| 70 72 6f 63 65 73 73 40 | 74 61 72 67 65 74 6c 61 |process@|targetla|
|00001000| 79 6f 75 74 0a 20 20 5c | 65 6c 73 65 0a 20 20 20 |yout. \|else. |
|00001010| 20 5c 6e 65 78 74 0a 20 | 20 5c 66 69 7d 0a 5c 64 | \next. | \fi}.\d|
|00001020| 65 66 5c 74 61 72 67 65 | 74 40 73 74 6f 70 7b 7d |ef\targe|t@stop{}|
|00001030| 0a 5c 64 65 66 5c 74 61 | 72 67 65 74 40 62 6f 6f |.\def\ta|rget@boo|
|00001040| 6b 6c 65 74 7b 25 0a 20 | 20 5c 62 6f 6f 6b 6c 65 |klet{%. | \bookle|
|00001050| 74 40 72 65 67 69 73 74 | 65 72 73 0a 20 20 5c 64 |t@regist|ers. \d|
|00001060| 65 66 5c 73 68 69 70 40 | 40 40 6c 65 66 74 70 61 |ef\ship@|@@leftpa|
|00001070| 67 65 7b 5c 73 61 76 65 | 40 62 6f 6f 6b 6c 65 74 |ge{\save|@booklet|
|00001080| 5c 40 6c 65 66 74 70 61 | 67 65 7d 25 0a 20 20 5c |\@leftpa|ge}%. \|
|00001090| 64 65 66 5c 73 68 69 70 | 40 40 40 72 69 67 68 74 |def\ship|@@@right|
|000010a0| 70 61 67 65 7b 5c 73 61 | 76 65 40 62 6f 6f 6b 6c |page{\sa|ve@bookl|
|000010b0| 65 74 5c 40 72 69 67 68 | 74 70 61 67 65 7d 25 0a |et\@righ|tpage}%.|
|000010c0| 20 20 5c 40 6c 65 66 74 | 70 61 67 65 66 61 6c 73 | \@left|pagefals|
|000010d0| 65 0a 20 20 5c 64 65 66 | 5c 74 77 6f 75 70 40 65 |e. \def|\twoup@e|
|000010e0| 6a 65 63 74 7b 5c 74 77 | 6f 75 70 40 65 6a 65 63 |ject{\tw|oup@ejec|
|000010f0| 74 40 62 6f 6f 6b 6c 65 | 74 7d 25 0a 20 20 5c 65 |t@bookle|t}%. \e|
|00001100| 78 70 61 6e 64 61 66 74 | 65 72 5c 70 72 6f 63 65 |xpandaft|er\proce|
|00001110| 73 73 40 74 61 72 67 65 | 74 6c 61 79 6f 75 74 7d |ss@targe|tlayout}|
|00001120| 0a 5c 64 65 66 5c 74 61 | 72 67 65 74 40 42 6f 6f |.\def\ta|rget@Boo|
|00001130| 6b 6c 65 74 7b 25 0a 20 | 20 5c 64 65 66 5c 62 6f |klet{%. | \def\bo|
|00001140| 6f 6b 6c 65 74 40 40 6c | 6f 6f 70 7b 5c 42 6f 6f |oklet@@l|oop{\Boo|
|00001150| 6b 6c 65 74 40 40 6c 6f | 6f 70 7d 25 0a 20 20 5c |klet@@lo|op}%. \|
|00001160| 74 61 72 67 65 74 40 62 | 6f 6f 6b 6c 65 74 7d 0a |target@b|ooklet}.|
|00001170| 5c 64 65 66 5c 74 61 72 | 67 65 74 40 74 77 6f 73 |\def\tar|get@twos|
|00001180| 69 64 65 64 7b 25 0a 20 | 20 5c 40 74 77 6f 73 69 |ided{%. | \@twosi|
|00001190| 64 65 64 74 72 75 65 0a | 20 20 5c 65 78 70 61 6e |dedtrue.| \expan|
|000011a0| 64 61 66 74 65 72 5c 70 | 72 6f 63 65 73 73 40 74 |dafter\p|rocess@t|
|000011b0| 61 72 67 65 74 6c 61 79 | 6f 75 74 7d 0a 5c 64 65 |argetlay|out}.\de|
|000011c0| 66 5c 74 61 72 67 65 74 | 40 74 6f 70 62 6f 74 74 |f\target|@topbott|
|000011d0| 6f 6d 7b 25 0a 20 20 5c | 64 65 66 5c 6d 61 6b 65 |om{%. \|def\make|
|000011e0| 40 40 68 61 6c 66 70 61 | 67 65 7b 5c 6d 61 6b 65 |@@halfpa|ge{\make|
|000011f0| 40 40 68 61 6c 66 74 6f | 70 62 6f 74 74 6f 6d 7d |@@halfto|pbottom}|
|00001200| 25 0a 20 20 5c 64 65 66 | 5c 6d 61 6b 65 40 66 75 |%. \def|\make@fu|
|00001210| 6c 6c 70 61 67 65 7b 5c | 6d 61 6b 65 40 66 75 6c |llpage{\|make@ful|
|00001220| 6c 74 6f 70 62 6f 74 74 | 6f 6d 7d 25 0a 20 20 5c |ltopbott|om}%. \|
|00001230| 40 73 69 64 65 62 79 73 | 69 64 65 66 61 6c 73 65 |@sidebys|idefalse|
|00001240| 0a 20 20 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c |. \expa|ndafter\|
|00001250| 70 72 6f 63 65 73 73 40 | 74 61 72 67 65 74 6c 61 |process@|targetla|
|00001260| 79 6f 75 74 7d 0a 5c 64 | 65 66 5c 74 61 72 67 65 |yout}.\d|ef\targe|
|00001270| 74 40 64 76 69 64 76 69 | 7b 25 0a 20 20 5c 64 65 |t@dvidvi|{%. \de|
|00001280| 66 5c 73 68 69 70 40 40 | 40 6c 65 66 74 70 61 67 |f\ship@@|@leftpag|
|00001290| 65 7b 5c 73 68 69 70 40 | 64 76 69 64 76 69 5c 40 |e{\ship@|dvidvi\@|
|000012a0| 6c 65 66 74 70 61 67 65 | 7d 25 0a 20 20 5c 64 65 |leftpage|}%. \de|
|000012b0| 66 5c 73 68 69 70 40 40 | 40 72 69 67 68 74 70 61 |f\ship@@|@rightpa|
|000012c0| 67 65 7b 5c 73 68 69 70 | 40 64 76 69 64 76 69 5c |ge{\ship|@dvidvi\|
|000012d0| 40 72 69 67 68 74 70 61 | 67 65 7d 25 0a 20 20 5c |@rightpa|ge}%. \|
|000012e0| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 70 72 6f 63 |expandaf|ter\proc|
|000012f0| 65 73 73 40 74 61 72 67 | 65 74 6c 61 79 6f 75 74 |ess@targ|etlayout|
|00001300| 7d 0a 25 0a 25 20 54 65 | 58 27 73 20 5c 73 68 69 |}.%.% Te|X's \shi|
|00001310| 70 6f 75 74 20 70 72 69 | 6d 69 74 69 76 65 20 69 |pout pri|mitive i|
|00001320| 73 20 73 61 76 65 64 20 | 61 73 20 5c 26 6e 6f 72 |s saved |as \&nor|
|00001330| 6d 61 6c 40 73 68 69 70 | 6f 75 74 2c 20 61 6e 64 |mal@ship|out, and|
|00001340| 20 74 68 65 6e 20 5c 73 | 68 69 70 6f 75 74 0a 25 | then \s|hipout.%|
|00001350| 20 69 73 20 64 65 66 69 | 6e 65 64 20 74 6f 20 73 | is defi|ned to s|
|00001360| 61 76 65 20 65 61 63 68 | 20 70 61 67 65 20 74 6f |ave each| page to|
|00001370| 20 5c 40 6c 65 66 74 70 | 61 67 65 20 6f 72 20 5c | \@leftp|age or \|
|00001380| 40 72 69 67 68 74 70 61 | 67 65 20 61 6e 64 20 74 |@rightpa|ge and t|
|00001390| 6f 20 70 72 69 6e 74 20 | 6f 75 74 0a 25 20 65 76 |o print |out.% ev|
|000013a0| 65 72 79 20 74 77 6f 2e | 20 57 69 74 68 20 74 68 |ery two.| With th|
|000013b0| 65 20 74 77 6f 73 69 64 | 65 64 20 6c 61 79 6f 75 |e twosid|ed layou|
|000013c0| 74 2c 20 66 69 6c 6c 65 | 72 20 70 61 67 65 73 20 |t, fille|r pages |
|000013d0| 61 72 65 20 61 64 64 65 | 64 20 77 68 65 6e 20 6e |are adde|d when n|
|000013e0| 65 65 64 65 64 2e 0a 5c | 65 78 70 61 6e 64 61 66 |eeded..\|expandaf|
|000013f0| 74 65 72 5c 6c 65 74 5c | 63 73 6e 61 6d 65 20 26 |ter\let\|csname &|
|00001400| 6e 6f 72 6d 61 6c 40 73 | 68 69 70 6f 75 74 5c 65 |normal@s|hipout\e|
|00001410| 6e 64 63 73 6e 61 6d 65 | 5c 73 68 69 70 6f 75 74 |ndcsname|\shipout|
|00001420| 0a 5c 64 65 66 5c 73 68 | 69 70 6f 75 74 7b 25 0a |.\def\sh|ipout{%.|
|00001430| 20 20 5c 69 66 40 6c 65 | 66 74 70 61 67 65 0a 20 | \if@le|ftpage. |
|00001440| 20 20 20 5c 67 6c 6f 62 | 61 6c 5c 40 6c 65 66 74 | \glob|al\@left|
|00001450| 70 61 67 65 66 61 6c 73 | 65 0a 20 20 20 20 5c 64 |pagefals|e. \d|
|00001460| 65 66 5c 6e 65 78 74 7b | 5c 61 66 74 65 72 61 73 |ef\next{|\afteras|
|00001470| 73 69 67 6e 6d 65 6e 74 | 5c 73 68 69 70 40 6c 65 |signment|\ship@le|
|00001480| 66 74 70 61 67 65 5c 67 | 6c 6f 62 61 6c 5c 73 65 |ftpage\g|lobal\se|
|00001490| 74 62 6f 78 5c 40 6c 65 | 66 74 70 61 67 65 3d 7d |tbox\@le|ftpage=}|
|000014a0| 25 0a 20 20 20 20 5c 69 | 66 40 74 77 6f 73 69 64 |%. \i|f@twosid|
|000014b0| 65 64 0a 20 20 20 20 20 | 20 5c 69 66 6f 64 64 5c |ed. | \ifodd\|
|000014c0| 63 6f 75 6e 74 5c 7a 40 | 0a 20 20 20 20 20 20 20 |count\z@|. |
|000014d0| 20 5c 67 6c 6f 62 61 6c | 5c 73 65 74 62 6f 78 5c | \global|\setbox\|
|000014e0| 40 6c 65 66 74 70 61 67 | 65 3d 5c 68 62 6f 78 7b |@leftpag|e=\hbox{|
|000014f0| 7d 25 0a 20 20 20 20 20 | 20 20 20 5c 6d 61 6b 65 |}%. | \make|
|00001500| 40 40 68 61 6c 66 70 61 | 67 65 5c 40 6c 65 66 74 |@@halfpa|ge\@left|
|00001510| 70 61 67 65 5c 73 68 69 | 70 40 40 40 6c 65 66 74 |page\shi|p@@@left|
|00001520| 70 61 67 65 0a 20 20 20 | 20 20 20 20 20 5c 64 65 |page. | \de|
|00001530| 66 5c 6e 65 78 74 7b 5c | 73 68 69 70 6f 75 74 7d |f\next{\|shipout}|
|00001540| 25 0a 20 20 20 20 20 20 | 5c 66 69 0a 20 20 20 20 |%. |\fi. |
|00001550| 5c 66 69 0a 20 20 5c 65 | 6c 73 65 0a 20 20 20 20 |\fi. \e|lse. |
|00001560| 5c 67 6c 6f 62 61 6c 5c | 40 6c 65 66 74 70 61 67 |\global\|@leftpag|
|00001570| 65 74 72 75 65 0a 20 20 | 20 20 5c 64 65 66 5c 6e |etrue. | \def\n|
|00001580| 65 78 74 7b 5c 61 66 74 | 65 72 61 73 73 69 67 6e |ext{\aft|erassign|
|00001590| 6d 65 6e 74 5c 73 68 69 | 70 40 72 69 67 68 74 70 |ment\shi|p@rightp|
|000015a0| 61 67 65 5c 67 6c 6f 62 | 61 6c 5c 73 65 74 62 6f |age\glob|al\setbo|
|000015b0| 78 5c 40 72 69 67 68 74 | 70 61 67 65 3d 7d 25 0a |x\@right|page=}%.|
|000015c0| 20 20 20 20 5c 69 66 40 | 74 77 6f 73 69 64 65 64 | \if@|twosided|
|000015d0| 0a 20 20 20 20 20 20 5c | 69 66 6f 64 64 5c 63 6f |. \|ifodd\co|
|000015e0| 75 6e 74 5c 7a 40 0a 20 | 20 20 20 20 20 5c 65 6c |unt\z@. | \el|
|000015f0| 73 65 0a 20 20 20 20 20 | 20 20 20 5c 67 6c 6f 62 |se. | \glob|
|00001600| 61 6c 5c 73 65 74 62 6f | 78 5c 40 72 69 67 68 74 |al\setbo|x\@right|
|00001610| 70 61 67 65 3d 5c 68 62 | 6f 78 7b 7d 25 0a 20 20 |page=\hb|ox{}%. |
|00001620| 20 20 20 20 20 20 5c 6d | 61 6b 65 40 40 68 61 6c | \m|ake@@hal|
|00001630| 66 70 61 67 65 5c 40 72 | 69 67 68 74 70 61 67 65 |fpage\@r|ightpage|
|00001640| 5c 73 68 69 70 40 40 40 | 72 69 67 68 74 70 61 67 |\ship@@@|rightpag|
|00001650| 65 0a 20 20 20 20 20 20 | 20 20 5c 64 65 66 5c 6e |e. | \def\n|
|00001660| 65 78 74 7b 5c 73 68 69 | 70 6f 75 74 7d 25 0a 20 |ext{\shi|pout}%. |
|00001670| 20 20 20 20 20 5c 66 69 | 0a 20 20 20 20 5c 66 69 | \fi|. \fi|
|00001680| 0a 20 20 5c 66 69 0a 20 | 20 5c 6e 65 78 74 7d 0a |. \fi. | \next}.|
|00001690| 25 0a 25 20 54 68 65 20 | 6a 6f 62 20 6f 66 20 5c |%.% The |job of \|
|000016a0| 73 68 69 70 40 6c 65 66 | 74 70 61 67 65 20 61 6e |ship@lef|tpage an|
|000016b0| 64 20 5c 73 68 69 70 40 | 72 69 67 68 74 70 61 67 |d \ship@|rightpag|
|000016c0| 65 20 69 73 20 74 6f 20 | 69 6e 76 6f 6b 65 20 5c |e is to |invoke \|
|000016d0| 73 68 69 70 40 40 6c 65 | 66 74 70 61 67 65 0a 25 |ship@@le|ftpage.%|
|000016e0| 20 6f 72 20 5c 73 68 69 | 70 40 40 72 69 67 68 74 | or \shi|p@@right|
|000016f0| 70 61 67 65 20 61 74 20 | 74 68 65 20 72 69 67 68 |page at |the righ|
|00001700| 74 20 74 69 6d 65 2e 20 | 5c 73 68 69 70 6f 75 74 |t time. |\shipout|
|00001710| 20 69 73 20 66 6f 6c 6c | 6f 77 65 64 20 65 69 74 | is foll|owed eit|
|00001720| 68 65 72 0a 25 20 28 69 | 29 20 62 79 20 61 6e 20 |her.% (i|) by an |
|00001730| 5c 68 62 6f 78 2c 20 5c | 76 62 6f 78 20 6f 72 20 |\hbox, \|vbox or |
|00001740| 5c 76 74 6f 70 2c 20 69 | 6e 20 77 68 69 63 68 20 |\vtop, i|n which |
|00001750| 63 61 73 65 20 5c 73 68 | 69 70 40 6c 65 66 74 70 |case \sh|ip@leftp|
|00001760| 61 67 65 20 69 73 20 69 | 6e 76 6f 6b 65 64 0a 25 |age is i|nvoked.%|
|00001770| 20 61 66 74 65 72 20 74 | 68 65 20 6f 70 65 6e 69 | after t|he openi|
|00001780| 6e 67 20 7b 2e 20 5c 40 | 6c 65 66 74 70 61 67 65 |ng {. \@|leftpage|
|00001790| 20 69 73 20 76 6f 69 64 | 2c 20 61 6e 64 20 5c 73 | is void|, and \s|
|000017a0| 68 69 70 40 6c 65 66 74 | 70 61 67 65 20 69 6e 76 |hip@left|page inv|
|000017b0| 6f 6b 65 73 0a 25 20 5c | 73 68 69 70 40 40 6c 65 |okes.% \|ship@@le|
|000017c0| 66 74 70 61 67 65 20 61 | 66 74 65 72 20 74 68 65 |ftpage a|fter the|
|000017d0| 20 63 6c 6f 73 69 6e 67 | 20 7d 2c 20 6f 72 0a 25 | closing| }, or.%|
|000017e0| 20 28 69 69 29 20 62 79 | 20 61 20 5c 62 6f 78 20 | (ii) by| a \box |
|000017f0| 6f 72 20 5c 63 6f 70 79 | 2c 20 69 6e 20 77 68 69 |or \copy|, in whi|
|00001800| 63 68 20 63 61 73 65 20 | 5c 73 68 69 70 40 6c 65 |ch case |\ship@le|
|00001810| 66 74 70 61 67 65 20 69 | 73 20 69 6e 76 6f 6b 65 |ftpage i|s invoke|
|00001820| 64 20 61 66 74 65 72 0a | 25 20 74 68 65 20 66 75 |d after.|% the fu|
|00001830| 6c 6c 20 61 73 73 69 67 | 6e 6d 65 6e 74 2e 20 5c |ll assig|nment. \|
|00001840| 40 6c 65 66 74 70 61 67 | 65 20 69 73 20 6e 6f 74 |@leftpag|e is not|
|00001850| 20 76 6f 69 64 65 2c 20 | 61 6e 64 20 5c 73 68 69 | voide, |and \shi|
|00001860| 70 40 6c 65 66 74 70 61 | 67 65 20 69 6e 76 6f 6b |p@leftpa|ge invok|
|00001870| 65 73 0a 25 20 5c 73 68 | 69 70 40 40 6c 65 66 74 |es.% \sh|ip@@left|
|00001880| 70 61 67 65 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |page imm|ediately|
|00001890| 2e 0a 5c 64 65 66 5c 73 | 68 69 70 40 6c 65 66 74 |..\def\s|hip@left|
|000018a0| 70 61 67 65 7b 25 0a 20 | 20 5c 69 66 76 6f 69 64 |page{%. | \ifvoid|
|000018b0| 5c 40 6c 65 66 74 70 61 | 67 65 5c 61 66 74 65 72 |\@leftpa|ge\after|
|000018c0| 67 72 6f 75 70 5c 73 68 | 69 70 40 40 6c 65 66 74 |group\sh|ip@@left|
|000018d0| 70 61 67 65 5c 65 6c 73 | 65 5c 73 68 69 70 40 40 |page\els|e\ship@@|
|000018e0| 6c 65 66 74 70 61 67 65 | 5c 66 69 7d 0a 5c 64 65 |leftpage|\fi}.\de|
|000018f0| 66 5c 73 68 69 70 40 72 | 69 67 68 74 70 61 67 65 |f\ship@r|ightpage|
|00001900| 7b 25 0a 20 20 5c 69 66 | 76 6f 69 64 5c 40 72 69 |{%. \if|void\@ri|
|00001910| 67 68 74 70 61 67 65 5c | 61 66 74 65 72 67 72 6f |ghtpage\|aftergro|
|00001920| 75 70 5c 73 68 69 70 40 | 40 72 69 67 68 74 70 61 |up\ship@|@rightpa|
|00001930| 67 65 5c 65 6c 73 65 5c | 73 68 69 70 40 40 72 69 |ge\else\|ship@@ri|
|00001940| 67 68 74 70 61 67 65 5c | 66 69 7d 0a 25 0a 25 20 |ghtpage\|fi}.%.% |
|00001950| 5c 73 68 69 70 40 40 6c | 65 66 74 70 61 67 65 2f |\ship@@l|eftpage/|
|00001960| 5c 73 68 69 70 40 40 72 | 69 67 68 74 70 61 67 65 |\ship@@r|ightpage|
|00001970| 20 74 61 6b 65 20 74 68 | 65 20 6f 75 74 70 75 74 | take th|e output|
|00001980| 20 62 6f 78 2c 20 61 6e | 64 20 66 69 72 73 74 20 | box, an|d first |
|00001990| 6d 61 6b 65 20 69 74 0a | 25 20 69 6e 74 6f 20 61 |make it.|% into a|
|000019a0| 20 66 75 6c 6c 79 2d 73 | 69 7a 65 20 73 6f 75 72 | fully-s|ize sour|
|000019b0| 63 65 20 70 61 67 65 20 | 28 77 69 74 68 20 5c 6d |ce page |(with \m|
|000019c0| 61 6b 65 40 68 61 6c 66 | 70 61 67 65 29 20 61 6e |ake@half|page) an|
|000019d0| 64 20 74 68 65 6e 20 74 | 68 69 73 20 69 73 0a 25 |d then t|his is.%|
|000019e0| 20 63 65 6e 74 65 72 65 | 64 20 68 6f 72 69 7a 6f | centere|d horizo|
|000019f0| 6e 74 61 6c 6c 79 20 61 | 6e 64 20 76 65 72 74 69 |ntally a|nd verti|
|00001a00| 63 61 6c 6c 79 20 69 6e | 20 68 61 6c 66 20 6f 66 |cally in| half of|
|00001a10| 20 61 20 74 61 72 67 65 | 74 20 70 61 67 65 20 28 | a targe|t page (|
|00001a20| 77 69 74 68 0a 25 20 5c | 6d 61 6b 65 40 40 68 61 |with.% \|make@@ha|
|00001a30| 6c 66 70 61 67 65 29 2e | 20 54 68 65 6e 20 74 68 |lfpage).| Then th|
|00001a40| 65 79 20 61 72 65 20 73 | 68 69 70 70 65 64 20 69 |ey are s|hipped i|
|00001a50| 6e 64 69 76 69 64 75 61 | 6c 6c 79 20 6f 72 20 74 |ndividua|lly or t|
|00001a60| 6f 67 65 74 68 65 72 2e | 0a 5c 64 65 66 5c 73 68 |ogether.|.\def\sh|
|00001a70| 69 70 40 40 6c 65 66 74 | 70 61 67 65 7b 5c 6d 61 |ip@@left|page{\ma|
|00001a80| 6b 65 40 68 61 6c 66 70 | 61 67 65 5c 40 6c 65 66 |ke@halfp|age\@lef|
|00001a90| 74 70 61 67 65 5c 73 68 | 69 70 40 40 40 6c 65 66 |tpage\sh|ip@@@lef|
|00001aa0| 74 70 61 67 65 7d 0a 5c | 64 65 66 5c 73 68 69 70 |tpage}.\|def\ship|
|00001ab0| 40 40 72 69 67 68 74 70 | 61 67 65 7b 5c 6d 61 6b |@@rightp|age{\mak|
|00001ac0| 65 40 68 61 6c 66 70 61 | 67 65 5c 40 72 69 67 68 |e@halfpa|ge\@righ|
|00001ad0| 74 70 61 67 65 5c 73 68 | 69 70 40 40 40 72 69 67 |tpage\sh|ip@@@rig|
|00001ae0| 68 74 70 61 67 65 7d 0a | 5c 64 65 66 5c 6d 61 6b |htpage}.|\def\mak|
|00001af0| 65 40 68 61 6c 66 70 61 | 67 65 23 31 7b 25 0a 20 |e@halfpa|ge#1{%. |
|00001b00| 20 5c 64 70 23 31 3d 5c | 7a 40 0a 20 20 5c 73 65 | \dp#1=\|z@. \se|
|00001b10| 74 62 6f 78 23 31 3d 5c | 76 62 6f 78 20 74 6f 5c |tbox#1=\|vbox to\|
|00001b20| 40 73 6f 75 72 63 65 68 | 65 69 67 68 74 7b 25 0a |@sourceh|eight{%.|
|00001b30| 20 20 20 20 5c 76 73 6b | 69 70 20 5c 69 6e 76 40 | \vsk|ip \inv@|
|00001b40| 73 6f 75 72 63 65 6d 61 | 67 20 69 6e 0a 20 20 20 |sourcema|g in. |
|00001b50| 20 5c 76 73 6b 69 70 20 | 5c 76 6f 66 66 73 65 74 | \vskip |\voffset|
|00001b60| 0a 20 20 20 20 5c 68 62 | 6f 78 20 74 6f 5c 40 73 |. \hb|ox to\@s|
|00001b70| 6f 75 72 63 65 77 69 64 | 74 68 7b 5c 68 73 6b 69 |ourcewid|th{\hski|
|00001b80| 70 5c 69 6e 76 40 73 6f | 75 72 63 65 6d 61 67 20 |p\inv@so|urcemag |
|00001b90| 69 6e 5c 68 73 6b 69 70 | 5c 68 6f 66 66 73 65 74 |in\hskip|\hoffset|
|00001ba0| 5c 62 6f 78 23 31 5c 68 | 73 73 7d 25 0a 20 20 20 |\box#1\h|ss}%. |
|00001bb0| 20 5c 76 73 73 7d 25 0a | 20 20 5c 6d 61 6b 65 40 | \vss}%.| \make@|
|00001bc0| 40 68 61 6c 66 70 61 67 | 65 23 31 7d 0a 25 0a 25 |@halfpag|e#1}.%.%|
|00001bd0| 20 54 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | The def|inition |
|00001be0| 6f 66 20 5c 6d 61 6b 65 | 40 40 68 61 6c 66 70 61 |of \make|@@halfpa|
|00001bf0| 67 65 20 64 65 70 65 6e | 64 73 20 6f 6e 20 74 68 |ge depen|ds on th|
|00001c00| 65 20 74 61 72 67 65 74 | 20 6c 61 79 6f 75 74 2e |e target| layout.|
|00001c10| 0a 5c 64 65 66 5c 6d 61 | 6b 65 40 40 68 61 6c 66 |.\def\ma|ke@@half|
|00001c20| 73 69 64 65 62 79 73 69 | 64 65 23 31 7b 25 0a 20 |sidebysi|de#1{%. |
|00001c30| 20 5c 67 6c 6f 62 61 6c | 5c 73 65 74 62 6f 78 23 | \global|\setbox#|
|00001c40| 31 3d 5c 76 62 6f 78 20 | 74 6f 5c 40 74 61 72 67 |1=\vbox |to\@targ|
|00001c50| 65 74 68 65 69 67 68 74 | 7b 5c 76 73 73 0a 20 20 |etheight|{\vss. |
|00001c60| 20 20 5c 68 62 6f 78 20 | 74 6f 2e 35 5c 40 74 61 | \hbox |to.5\@ta|
|00001c70| 72 67 65 74 77 69 64 74 | 68 7b 5c 68 73 73 5c 62 |rgetwidt|h{\hss\b|
|00001c80| 6f 78 23 31 5c 68 73 73 | 7d 5c 76 73 73 7d 7d 0a |ox#1\hss|}\vss}}.|
|00001c90| 5c 64 65 66 5c 6d 61 6b | 65 40 40 68 61 6c 66 74 |\def\mak|e@@halft|
|00001ca0| 6f 70 62 6f 74 74 6f 6d | 23 31 7b 25 0a 20 20 5c |opbottom|#1{%. \|
|00001cb0| 67 6c 6f 62 61 6c 5c 73 | 65 74 62 6f 78 23 31 3d |global\s|etbox#1=|
|00001cc0| 5c 76 62 6f 78 20 74 6f | 2e 35 5c 40 74 61 72 67 |\vbox to|.5\@targ|
|00001cd0| 65 74 68 65 69 67 68 74 | 7b 5c 76 73 73 0a 20 20 |etheight|{\vss. |
|00001ce0| 20 20 5c 68 62 6f 78 20 | 74 6f 5c 40 74 61 72 67 | \hbox |to\@targ|
|00001cf0| 65 74 77 69 64 74 68 7b | 5c 68 73 73 5c 62 6f 78 |etwidth{|\hss\box|
|00001d00| 23 31 5c 68 73 73 7d 5c | 76 73 73 7d 7d 0a 5c 64 |#1\hss}\|vss}}.\d|
|00001d10| 65 66 5c 6d 61 6b 65 40 | 40 68 61 6c 66 70 61 67 |ef\make@|@halfpag|
|00001d20| 65 7b 5c 6d 61 6b 65 40 | 40 68 61 6c 66 73 69 64 |e{\make@|@halfsid|
|00001d30| 65 62 79 73 69 64 65 7d | 0a 25 0a 25 20 54 68 65 |ebyside}|.%.% The|
|00001d40| 20 70 61 67 65 73 20 61 | 72 65 20 67 65 6e 65 72 | pages a|re gener|
|00001d50| 61 6c 79 20 73 68 69 70 | 70 65 64 20 69 6e 20 70 |aly ship|ped in p|
|00001d60| 61 69 72 73 3a 0a 5c 64 | 65 66 5c 73 68 69 70 40 |airs:.\d|ef\ship@|
|00001d70| 74 77 6f 75 70 7b 25 0a | 20 20 5c 62 65 67 69 6e |twoup{%.| \begin|
|00001d80| 67 72 6f 75 70 0a 20 20 | 20 20 5c 76 6f 66 66 73 |group. | \voffs|
|00001d90| 65 74 3d 2d 5c 69 6e 76 | 40 74 61 72 67 65 74 6d |et=-\inv|@targetm|
|00001da0| 61 67 20 69 6e 0a 20 20 | 20 20 5c 68 6f 66 66 73 |ag in. | \hoffs|
|00001db0| 65 74 3d 5c 76 6f 66 66 | 73 65 74 0a 20 20 20 20 |et=\voff|set. |
|00001dc0| 5c 67 6c 6f 62 61 6c 5c | 61 64 76 61 6e 63 65 5c |\global\|advance\|
|00001dd0| 40 70 68 79 73 69 63 61 | 6c 70 61 67 65 20 62 79 |@physica|lpage by|
|00001de0| 20 31 0a 20 20 20 20 5c | 63 6f 75 6e 74 5c 7a 40 | 1. \|count\z@|
|00001df0| 3d 5c 40 70 68 79 73 69 | 63 61 6c 70 61 67 65 0a |=\@physi|calpage.|
|00001e00| 20 20 20 20 5c 63 73 6e | 61 6d 65 20 26 6e 6f 72 | \csn|ame &nor|
|00001e10| 6d 61 6c 40 73 68 69 70 | 6f 75 74 5c 65 6e 64 63 |mal@ship|out\endc|
|00001e20| 73 6e 61 6d 65 5c 6d 61 | 6b 65 40 66 75 6c 6c 70 |sname\ma|ke@fullp|
|00001e30| 61 67 65 0a 20 20 5c 65 | 6e 64 67 72 6f 75 70 7d |age. \e|ndgroup}|
|00001e40| 0a 5c 6c 65 74 5c 73 68 | 69 70 40 40 40 6c 65 66 |.\let\sh|ip@@@lef|
|00001e50| 74 70 61 67 65 5c 72 65 | 6c 61 78 0a 5c 64 65 66 |tpage\re|lax.\def|
|00001e60| 5c 73 68 69 70 40 40 40 | 72 69 67 68 74 70 61 67 |\ship@@@|rightpag|
|00001e70| 65 7b 5c 73 68 69 70 40 | 74 77 6f 75 70 7d 0a 25 |e{\ship@|twoup}.%|
|00001e80| 0a 25 20 54 68 65 20 64 | 65 66 69 6e 69 74 69 6f |.% The d|efinitio|
|00001e90| 6e 20 6f 66 20 5c 6d 61 | 6b 65 40 66 75 6c 6c 70 |n of \ma|ke@fullp|
|00001ea0| 61 67 65 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 74 |age depe|nds on t|
|00001eb0| 68 65 20 6c 61 79 6f 75 | 74 3a 0a 5c 64 65 66 5c |he layou|t:.\def\|
|00001ec0| 6d 61 6b 65 40 66 75 6c | 6c 73 69 64 65 62 79 73 |make@ful|lsidebys|
|00001ed0| 69 64 65 7b 25 0a 20 20 | 5c 68 62 6f 78 7b 5c 62 |ide{%. |\hbox{\b|
|00001ee0| 6f 78 5c 40 6c 65 66 74 | 70 61 67 65 5c 70 61 67 |ox\@left|page\pag|
|00001ef0| 65 73 65 70 40 73 69 64 | 65 62 79 73 69 64 65 5c |esep@sid|ebyside\|
|00001f00| 62 6f 78 5c 40 72 69 67 | 68 74 70 61 67 65 7d 7d |box\@rig|htpage}}|
|00001f10| 0a 5c 64 65 66 5c 6d 61 | 6b 65 40 66 75 6c 6c 74 |.\def\ma|ke@fullt|
|00001f20| 6f 70 62 6f 74 74 6f 6d | 7b 25 0a 20 20 5c 76 62 |opbottom|{%. \vb|
|00001f30| 6f 78 7b 5c 6f 66 66 69 | 6e 74 65 72 6c 69 6e 65 |ox{\offi|nterline|
|00001f40| 73 6b 69 70 5c 62 6f 78 | 5c 40 6c 65 66 74 70 61 |skip\box|\@leftpa|
|00001f50| 67 65 5c 70 61 67 65 73 | 65 70 40 74 6f 70 62 6f |ge\pages|ep@topbo|
|00001f60| 74 74 6f 6d 5c 62 6f 78 | 5c 40 72 69 67 68 74 70 |ttom\box|\@rightp|
|00001f70| 61 67 65 7d 7d 0a 5c 64 | 65 66 5c 6d 61 6b 65 40 |age}}.\d|ef\make@|
|00001f80| 66 75 6c 6c 70 61 67 65 | 7b 5c 6d 61 6b 65 40 66 |fullpage|{\make@f|
|00001f90| 75 6c 6c 73 69 64 65 62 | 79 73 69 64 65 7d 0a 25 |ullsideb|yside}.%|
|00001fa0| 0a 25 20 41 20 76 65 72 | 74 69 63 61 6c 20 6f 72 |.% A ver|tical or|
|00001fb0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 72 75 6c 65 | horizon|tal rule|
|00001fc0| 20 63 61 6e 20 62 65 20 | 69 6e 73 65 72 74 65 64 | can be |inserted|
|00001fd0| 2e 20 54 68 65 73 65 20 | 63 61 6e 20 62 65 20 72 |. These |can be r|
|00001fe0| 65 64 65 66 69 6e 65 64 | 0a 25 20 66 6f 72 20 6f |edefined|.% for o|
|00001ff0| 74 68 65 72 20 74 72 69 | 63 6b 73 3a 0a 5c 64 65 |ther tri|cks:.\de|
|00002000| 66 5c 70 61 67 65 73 65 | 70 40 73 69 64 65 62 79 |f\pagese|p@sideby|
|00002010| 73 69 64 65 7b 25 0a 20 | 20 5c 62 65 67 69 6e 67 |side{%. | \beging|
|00002020| 72 6f 75 70 0a 20 20 20 | 20 5c 61 64 76 61 6e 63 |roup. | \advanc|
|00002030| 65 5c 70 61 67 65 73 65 | 70 6c 65 6e 67 74 68 20 |e\pagese|plength |
|00002040| 62 79 20 5c 70 61 67 65 | 73 65 70 6f 66 66 73 65 |by \page|sepoffse|
|00002050| 74 0a 20 20 20 20 5c 70 | 61 67 65 73 65 70 77 69 |t. \p|agesepwi|
|00002060| 64 74 68 3d 5c 69 6e 76 | 40 74 61 72 67 65 74 6d |dth=\inv|@targetm|
|00002070| 61 67 5c 70 61 67 65 73 | 65 70 77 69 64 74 68 0a |ag\pages|epwidth.|
|00002080| 20 20 20 20 5c 6b 65 72 | 6e 20 2d 2e 35 5c 70 61 | \ker|n -.5\pa|
|00002090| 67 65 73 65 70 77 69 64 | 74 68 0a 20 20 20 20 5c |gesepwid|th. \|
|000020a0| 76 72 75 6c 65 20 68 65 | 69 67 68 74 20 5c 69 6e |vrule he|ight \in|
|000020b0| 76 40 74 61 72 67 65 74 | 6d 61 67 5c 70 61 67 65 |v@target|mag\page|
|000020c0| 73 65 70 6c 65 6e 67 74 | 68 0a 20 20 20 20 20 20 |seplengt|h. |
|000020d0| 20 20 20 20 20 64 65 70 | 74 68 20 2d 5c 69 6e 76 | dep|th -\inv|
|000020e0| 40 74 61 72 67 65 74 6d | 61 67 5c 70 61 67 65 73 |@targetm|ag\pages|
|000020f0| 65 70 6f 66 66 73 65 74 | 0a 20 20 20 20 20 20 20 |epoffset|. |
|00002100| 20 20 20 20 77 69 64 74 | 68 20 5c 70 61 67 65 73 | widt|h \pages|
|00002110| 65 70 77 69 64 74 68 0a | 20 20 20 20 5c 6b 65 72 |epwidth.| \ker|
|00002120| 6e 20 2d 2e 35 5c 70 61 | 67 65 73 65 70 77 69 64 |n -.5\pa|gesepwid|
|00002130| 74 68 0a 20 20 5c 65 6e | 64 67 72 6f 75 70 7d 0a |th. \en|dgroup}.|
|00002140| 5c 64 65 66 5c 70 61 67 | 65 73 65 70 40 74 6f 70 |\def\pag|esep@top|
|00002150| 62 6f 74 74 6f 6d 7b 25 | 0a 20 20 5c 62 65 67 69 |bottom{%|. \begi|
|00002160| 6e 67 72 6f 75 70 0a 20 | 20 20 20 5c 70 61 67 65 |ngroup. | \page|
|00002170| 73 65 70 77 69 64 74 68 | 3d 5c 69 6e 76 40 74 61 |sepwidth|=\inv@ta|
|00002180| 72 67 65 74 6d 61 67 5c | 70 61 67 65 73 65 70 77 |rgetmag\|pagesepw|
|00002190| 69 64 74 68 0a 20 20 20 | 20 5c 76 73 6b 69 70 20 |idth. | \vskip |
|000021a0| 2d 2e 35 5c 70 61 67 65 | 73 65 70 77 69 64 74 68 |-.5\page|sepwidth|
|000021b0| 0a 20 20 20 20 5c 6d 6f | 76 65 72 69 67 68 74 5c |. \mo|veright\|
|000021c0| 69 6e 76 40 74 61 72 67 | 65 74 6d 61 67 5c 70 61 |inv@targ|etmag\pa|
|000021d0| 67 65 73 65 70 6f 66 66 | 73 65 74 5c 68 62 6f 78 |gesepoff|set\hbox|
|000021e0| 7b 25 0a 20 20 20 20 20 | 20 5c 76 72 75 6c 65 20 |{%. | \vrule |
|000021f0| 68 65 69 67 68 74 5c 70 | 61 67 65 73 65 70 77 69 |height\p|agesepwi|
|00002200| 64 74 68 20 77 69 64 74 | 68 5c 69 6e 76 40 74 61 |dth widt|h\inv@ta|
|00002210| 72 67 65 74 6d 61 67 5c | 70 61 67 65 73 65 70 6c |rgetmag\|pagesepl|
|00002220| 65 6e 67 74 68 7d 25 0a | 20 20 20 20 5c 76 73 6b |ength}%.| \vsk|
|00002230| 69 70 20 2d 2e 35 5c 70 | 61 67 65 73 65 70 77 69 |ip -.5\p|agesepwi|
|00002240| 64 74 68 0a 20 20 5c 65 | 6e 64 67 72 6f 75 70 7d |dth. \e|ndgroup}|
|00002250| 0a 25 0a 25 20 57 69 74 | 68 20 74 68 65 20 64 76 |.%.% Wit|h the dv|
|00002260| 69 64 76 69 20 6c 61 79 | 6f 75 74 2c 20 74 68 65 |idvi lay|out, the|
|00002270| 20 70 61 67 65 73 20 61 | 72 65 20 73 68 69 70 70 | pages a|re shipp|
|00002280| 65 64 20 69 6e 64 69 76 | 69 64 75 61 6c 6c 79 3a |ed indiv|idually:|
|00002290| 0a 5c 64 65 66 5c 73 68 | 69 70 40 64 76 69 64 76 |.\def\sh|ip@dvidv|
|000022a0| 69 23 31 7b 25 0a 20 20 | 5c 62 65 67 69 6e 67 72 |i#1{%. |\begingr|
|000022b0| 6f 75 70 0a 20 20 20 20 | 5c 76 6f 66 66 73 65 74 |oup. |\voffset|
|000022c0| 3d 2d 5c 69 6e 76 40 74 | 61 72 67 65 74 6d 61 67 |=-\inv@t|argetmag|
|000022d0| 20 69 6e 0a 20 20 20 20 | 5c 68 6f 66 66 73 65 74 | in. |\hoffset|
|000022e0| 3d 5c 76 6f 66 66 73 65 | 74 0a 20 20 20 20 5c 63 |=\voffse|t. \c|
|000022f0| 73 6e 61 6d 65 20 26 6e | 6f 72 6d 61 6c 40 73 68 |sname &n|ormal@sh|
|00002300| 69 70 6f 75 74 5c 65 6e | 64 63 73 6e 61 6d 65 5c |ipout\en|dcsname\|
|00002310| 62 6f 78 23 31 25 0a 20 | 20 5c 65 6e 64 67 72 6f |box#1%. | \endgro|
|00002320| 75 70 7d 0a 25 0a 25 20 | 57 69 74 68 20 74 68 65 |up}.%.% |With the|
|00002330| 20 62 6f 6f 6b 6c 65 74 | 20 6f 72 20 42 6f 6f 6b | booklet| or Book|
|00002340| 6c 65 74 20 6c 61 79 6f | 75 74 2c 20 74 68 65 20 |let layo|ut, the |
|00002350| 70 61 67 65 73 20 61 72 | 65 20 73 61 76 65 64 20 |pages ar|e saved |
|00002360| 72 61 74 68 65 72 20 74 | 68 61 6e 0a 25 20 73 68 |rather t|han.% sh|
|00002370| 69 70 70 65 64 2e 0a 5c | 62 65 67 69 6e 67 72 6f |ipped..\|begingro|
|00002380| 75 70 0a 5c 6c 65 74 5c | 6e 65 77 62 6f 78 5c 72 |up.\let\|newbox\r|
|00002390| 65 6c 61 78 0a 5c 67 64 | 65 66 5c 73 61 76 65 40 |elax.\gd|ef\save@|
|000023a0| 62 6f 6f 6b 6c 65 74 23 | 31 7b 25 0a 20 20 5c 62 |booklet#|1{%. \b|
|000023b0| 65 67 69 6e 67 72 6f 75 | 70 0a 20 20 20 20 5c 67 |egingrou|p. \g|
|000023c0| 6c 6f 62 61 6c 64 65 66 | 73 3d 31 0a 20 20 20 20 |lobaldef|s=1. |
|000023d0| 5c 61 64 76 61 6e 63 65 | 5c 62 6f 6f 6b 6c 65 74 |\advance|\booklet|
|000023e0| 70 61 67 65 20 62 79 20 | 31 0a 20 20 20 20 5c 65 |page by |1. \e|
|000023f0| 78 70 61 6e 64 61 66 74 | 65 72 5c 6e 65 77 62 6f |xpandaft|er\newbo|
|00002400| 78 5c 63 73 6e 61 6d 65 | 20 62 6f 6f 6b 6c 65 74 |x\csname| booklet|
|00002410| 62 6f 78 5c 74 68 65 5c | 62 6f 6f 6b 6c 65 74 70 |box\the\|bookletp|
|00002420| 61 67 65 5c 65 6e 64 63 | 73 6e 61 6d 65 0a 20 20 |age\endc|sname. |
|00002430| 20 20 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 73 | \expan|dafter\s|
|00002440| 65 74 62 6f 78 5c 63 73 | 6e 61 6d 65 20 62 6f 6f |etbox\cs|name boo|
|00002450| 6b 6c 65 74 62 6f 78 5c | 74 68 65 5c 62 6f 6f 6b |kletbox\|the\book|
|00002460| 6c 65 74 70 61 67 65 5c | 65 6e 64 63 73 6e 61 6d |letpage\|endcsnam|
|00002470| 65 5c 62 6f 78 23 31 25 | 0a 20 20 5c 65 6e 64 67 |e\box#1%|. \endg|
|00002480| 72 6f 75 70 7d 0a 5c 65 | 6e 64 67 72 6f 75 70 0a |roup}.\e|ndgroup.|
|00002490| 25 0a 25 20 54 68 65 20 | 70 61 67 65 73 20 61 72 |%.% The |pages ar|
|000024a0| 65 20 74 68 65 6e 20 70 | 72 69 6e 74 65 64 20 61 |e then p|rinted a|
|000024b0| 74 20 74 68 65 20 65 6e | 64 20 77 69 74 68 20 74 |t the en|d with t|
|000024c0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 61 63 |he follo|wing mac|
|000024d0| 72 6f 73 3a 0a 5c 64 65 | 66 5c 6d 61 6b 65 40 62 |ros:.\de|f\make@b|
|000024e0| 6f 6f 6b 6c 65 74 70 61 | 67 65 23 31 7b 25 0a 20 |ookletpa|ge#1{%. |
|000024f0| 20 5c 73 65 74 62 6f 78 | 5c 69 66 6f 64 64 23 31 | \setbox|\ifodd#1|
|00002500| 5c 40 72 69 67 68 74 70 | 61 67 65 5c 65 6c 73 65 |\@rightp|age\else|
|00002510| 5c 40 6c 65 66 74 70 61 | 67 65 5c 66 69 3d 25 0a |\@leftpa|ge\fi=%.|
|00002520| 20 20 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 | \exp|andafter|
|00002530| 5c 62 6f 78 5c 63 73 6e | 61 6d 65 20 62 6f 6f 6b |\box\csn|ame book|
|00002540| 6c 65 74 62 6f 78 5c 74 | 68 65 23 31 5c 65 6e 64 |letbox\t|he#1\end|
|00002550| 63 73 6e 61 6d 65 7d 0a | 5c 64 65 66 5c 62 6f 6f |csname}.|\def\boo|
|00002560| 6b 6c 65 74 40 6c 6f 6f | 70 7b 25 0a 20 20 5c 63 |klet@loo|p{%. \c|
|00002570| 6f 75 6e 74 5c 7a 40 5c | 72 69 67 68 74 70 61 67 |ount\z@\|rightpag|
|00002580| 65 6e 75 6d 62 65 72 0a | 20 20 5c 6d 61 6b 65 40 |enumber.| \make@|
|00002590| 62 6f 6f 6b 6c 65 74 70 | 61 67 65 5c 6c 65 66 74 |bookletp|age\left|
|000025a0| 70 61 67 65 6e 75 6d 62 | 65 72 0a 20 20 5c 6d 61 |pagenumb|er. \ma|
|000025b0| 6b 65 40 62 6f 6f 6b 6c | 65 74 70 61 67 65 5c 72 |ke@bookl|etpage\r|
|000025c0| 69 67 68 74 70 61 67 65 | 6e 75 6d 62 65 72 0a 20 |ightpage|number. |
|000025d0| 20 5c 73 68 69 70 40 74 | 77 6f 75 70 0a 20 20 5c | \ship@t|woup. \|
|000025e0| 62 6f 6f 6b 6c 65 74 40 | 40 6c 6f 6f 70 7d 0a 5c |booklet@|@loop}.\|
|000025f0| 64 65 66 5c 62 6f 6f 6b | 6c 65 74 40 40 6c 6f 6f |def\book|let@@loo|
|00002600| 70 7b 25 0a 20 20 5c 61 | 64 76 61 6e 63 65 5c 72 |p{%. \a|dvance\r|
|00002610| 69 67 68 74 70 61 67 65 | 6e 75 6d 62 65 72 20 62 |ightpage|number b|
|00002620| 79 20 32 0a 20 20 5c 61 | 64 76 61 6e 63 65 5c 6c |y 2. \a|dvance\l|
|00002630| 65 66 74 70 61 67 65 6e | 75 6d 62 65 72 20 62 79 |eftpagen|umber by|
|00002640| 20 2d 32 0a 20 20 5c 69 | 66 6e 75 6d 5c 6c 65 66 | -2. \i|fnum\lef|
|00002650| 74 70 61 67 65 6e 75 6d | 62 65 72 3c 31 5c 65 6c |tpagenum|ber<1\el|
|00002660| 73 65 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 62 |se\expan|dafter\b|
|00002670| 6f 6f 6b 6c 65 74 40 6c | 6f 6f 70 5c 66 69 7d 0a |ooklet@l|oop\fi}.|
|00002680| 5c 64 65 66 5c 42 6f 6f | 6b 6c 65 74 40 40 6c 6f |\def\Boo|klet@@lo|
|00002690| 6f 70 7b 25 0a 20 20 5c | 61 64 76 61 6e 63 65 5c |op{%. \|advance\|
|000026a0| 72 69 67 68 74 70 61 67 | 65 6e 75 6d 62 65 72 20 |rightpag|enumber |
|000026b0| 62 79 20 31 0a 20 20 5c | 61 64 76 61 6e 63 65 5c |by 1. \|advance\|
|000026c0| 6c 65 66 74 70 61 67 65 | 6e 75 6d 62 65 72 20 62 |leftpage|number b|
|000026d0| 79 20 2d 31 0a 20 20 5c | 69 66 6e 75 6d 5c 6c 65 |y -1. \|ifnum\le|
|000026e0| 66 74 70 61 67 65 6e 75 | 6d 62 65 72 3c 5c 72 69 |ftpagenu|mber<\ri|
|000026f0| 67 68 74 70 61 67 65 6e | 75 6d 62 65 72 5c 65 6c |ghtpagen|umber\el|
|00002700| 73 65 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 62 |se\expan|dafter\b|
|00002710| 6f 6f 6b 6c 65 74 40 6c | 6f 6f 70 5c 66 69 7d 0a |ooklet@l|oop\fi}.|
|00002720| 25 0a 25 20 54 68 69 73 | 20 6f 6e 65 20 69 73 20 |%.% This| one is |
|00002730| 65 61 73 79 3a 0a 5c 64 | 65 66 5c 74 77 6f 75 70 |easy:.\d|ef\twoup|
|00002740| 65 6d 70 74 79 70 61 67 | 65 7b 5c 73 68 69 70 6f |emptypag|e{\shipo|
|00002750| 75 74 5c 68 62 6f 78 7b | 7d 7d 0a 25 0a 25 20 54 |ut\hbox{|}}.%.% T|
|00002760| 68 69 73 20 63 6c 65 61 | 72 73 20 61 20 77 68 6f |his clea|rs a who|
|00002770| 6c 65 20 74 61 72 67 65 | 74 20 70 61 67 65 20 69 |le targe|t page i|
|00002780| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 73 61 76 |f there |is a sav|
|00002790| 65 64 20 6c 65 66 74 20 | 70 61 67 65 2e 20 4e 6f |ed left |page. No|
|000027a0| 74 65 20 74 68 61 74 0a | 25 20 74 68 69 73 20 64 |te that.|% this d|
|000027b0| 6f 65 73 20 6e 6f 74 20 | 69 6e 76 6f 6b 65 20 74 |oes not |invoke t|
|000027c0| 68 65 20 6f 75 74 70 75 | 74 20 72 6f 75 74 69 6e |he outpu|t routin|
|000027d0| 65 3b 20 69 2e 65 2e 2c | 20 69 74 20 69 73 20 6e |e; i.e.,| it is n|
|000027e0| 6f 74 20 6c 69 6b 65 20 | 5c 63 6c 65 61 72 70 61 |ot like |\clearpa|
|000027f0| 67 65 0a 25 20 6f 72 20 | 5c 73 75 70 65 72 65 6a |ge.% or |\superej|
|00002800| 65 63 74 2e 20 53 65 65 | 20 5c 74 77 6f 75 70 63 |ect. See| \twoupc|
|00002810| 6c 65 61 72 70 61 67 65 | 20 61 6e 64 20 5c 74 77 |learpage| and \tw|
|00002820| 6f 75 70 65 6a 65 63 74 | 20 62 65 6c 6f 77 2e 0a |oupeject| below..|
|00002830| 5c 64 65 66 5c 74 77 6f | 75 70 40 65 6a 65 63 74 |\def\two|up@eject|
|00002840| 7b 25 0a 20 20 5c 69 66 | 40 6c 65 66 74 70 61 67 |{%. \if|@leftpag|
|00002850| 65 5c 65 6c 73 65 0a 20 | 20 20 20 5c 67 6c 6f 62 |e\else. | \glob|
|00002860| 61 6c 5c 73 65 74 62 6f | 78 5c 40 72 69 67 68 74 |al\setbo|x\@right|
|00002870| 70 61 67 65 5c 68 62 6f | 78 7b 7d 25 0a 20 20 20 |page\hbo|x{}%. |
|00002880| 20 5c 6d 61 6b 65 40 40 | 68 61 6c 66 70 61 67 65 | \make@@|halfpage|
|00002890| 5c 40 72 69 67 68 74 70 | 61 67 65 5c 73 68 69 70 |\@rightp|age\ship|
|000028a0| 40 40 40 72 69 67 68 74 | 70 61 67 65 0a 20 20 20 |@@@right|page. |
|000028b0| 20 5c 67 6c 6f 62 61 6c | 5c 40 6c 65 66 74 70 61 | \global|\@leftpa|
|000028c0| 67 65 74 72 75 65 0a 20 | 20 5c 66 69 7d 0a 25 0a |getrue. | \fi}.%.|
|000028d0| 25 20 54 68 69 73 20 69 | 73 20 74 68 65 20 64 65 |% This i|s the de|
|000028e0| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 5c 74 77 6f |finition| of \two|
|000028f0| 75 70 40 65 6a 65 63 74 | 20 77 69 74 68 20 74 68 |up@eject| with th|
|00002900| 65 20 62 6f 6f 6b 6c 65 | 74 20 6f 70 74 69 6f 6e |e bookle|t option|
|00002910| 3a 0a 5c 64 65 66 5c 74 | 77 6f 75 70 40 65 6a 65 |:.\def\t|woup@eje|
|00002920| 63 74 40 62 6f 6f 6b 6c | 65 74 7b 25 0a 20 20 5c |ct@bookl|et{%. \|
|00002930| 6c 65 66 74 70 61 67 65 | 6e 75 6d 62 65 72 5c 62 |leftpage|number\b|
|00002940| 6f 6f 6b 6c 65 74 70 61 | 67 65 0a 20 20 5c 61 64 |ookletpa|ge. \ad|
|00002950| 76 61 6e 63 65 5c 6c 65 | 66 74 70 61 67 65 6e 75 |vance\le|ftpagenu|
|00002960| 6d 62 65 72 20 62 79 20 | 33 0a 20 20 5c 64 69 76 |mber by |3. \div|
|00002970| 69 64 65 5c 6c 65 66 74 | 70 61 67 65 6e 75 6d 62 |ide\left|pagenumb|
|00002980| 65 72 20 62 79 20 34 0a | 20 20 5c 6d 75 6c 74 69 |er by 4.| \multi|
|00002990| 70 6c 79 5c 6c 65 66 74 | 70 61 67 65 6e 75 6d 62 |ply\left|pagenumb|
|000029a0| 65 72 20 62 79 20 34 0a | 20 20 5c 72 69 67 68 74 |er by 4.| \right|
|000029b0| 70 61 67 65 6e 75 6d 62 | 65 72 3d 31 0a 20 20 5c |pagenumb|er=1. \|
|000029c0| 69 66 6e 75 6d 5c 6c 65 | 66 74 70 61 67 65 6e 75 |ifnum\le|ftpagenu|
|000029d0| 6d 62 65 72 3e 5c 62 6f | 6f 6b 6c 65 74 70 61 67 |mber>\bo|okletpag|
|000029e0| 65 0a 20 20 20 20 5c 73 | 65 74 62 6f 78 5c 40 6c |e. \s|etbox\@l|
|000029f0| 65 66 74 70 61 67 65 5c | 68 62 6f 78 7b 7d 25 0a |eftpage\|hbox{}%.|
|00002a00| 20 20 20 20 5c 6d 61 6b | 65 40 40 68 61 6c 66 70 | \mak|e@@halfp|
|00002a10| 61 67 65 5c 40 6c 65 66 | 74 70 61 67 65 0a 20 20 |age\@lef|tpage. |
|00002a20| 20 20 5c 6c 6f 6f 70 0a | 20 20 20 20 20 20 5c 73 | \loop.| \s|
|00002a30| 65 74 62 6f 78 5c 40 72 | 69 67 68 74 70 61 67 65 |etbox\@r|ightpage|
|00002a40| 5c 63 6f 70 79 5c 40 6c | 65 66 74 70 61 67 65 0a |\copy\@l|eftpage.|
|00002a50| 20 20 20 20 20 20 5c 73 | 61 76 65 40 62 6f 6f 6b | \s|ave@book|
|00002a60| 6c 65 74 5c 40 72 69 67 | 68 74 70 61 67 65 0a 20 |let\@rig|htpage. |
|00002a70| 20 20 20 5c 69 66 6e 75 | 6d 5c 6c 65 66 74 70 61 | \ifnu|m\leftpa|
|00002a80| 67 65 6e 75 6d 62 65 72 | 3e 5c 62 6f 6f 6b 6c 65 |genumber|>\bookle|
|00002a90| 74 70 61 67 65 0a 20 20 | 20 20 5c 72 65 70 65 61 |tpage. | \repea|
|00002aa0| 74 0a 20 20 5c 66 69 0a | 20 20 5c 62 6f 6f 6b 6c |t. \fi.| \bookl|
|00002ab0| 65 74 40 6c 6f 6f 70 7d | 0a 25 0a 25 20 54 68 69 |et@loop}|.%.% Thi|
|00002ac0| 73 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 20 69 |s modifi|cation i|
|00002ad0| 73 20 6e 65 65 64 65 64 | 20 66 6f 72 20 5c 4c 61 |s needed| for \La|
|00002ae0| 54 65 58 20 69 6e 20 6f | 72 64 65 72 20 74 6f 20 |TeX in o|rder to |
|00002af0| 67 65 74 20 74 68 65 20 | 6c 61 73 74 20 70 61 67 |get the |last pag|
|00002b00| 65 0a 25 20 70 72 69 6e | 74 65 64 20 6f 75 74 20 |e.% prin|ted out |
|00002b10| 69 66 20 74 68 65 20 66 | 69 6e 61 6c 20 70 61 67 |if the f|inal pag|
|00002b20| 65 20 69 73 20 61 20 6c | 65 66 74 20 70 61 67 65 |e is a l|eft page|
|00002b30| 20 28 74 68 65 20 63 61 | 74 63 6f 64 65 20 62 75 | (the ca|tcode bu|
|00002b40| 73 69 6e 65 73 73 20 69 | 73 0a 25 20 62 65 63 61 |siness i|s.% beca|
|00002b50| 75 73 65 20 5c 65 6e 64 | 64 6f 63 75 6d 65 6e 74 |use \end|document|
|00002b60| 20 69 73 20 5c 6c 65 74 | 20 74 6f 20 5c 62 79 65 | is \let| to \bye|
|00002b70| 20 69 6e 20 61 6d 73 74 | 65 78 29 3a 0a 5c 62 65 | in amst|ex):.\be|
|00002b80| 67 69 6e 67 72 6f 75 70 | 0a 5c 65 78 70 61 6e 64 |gingroup|.\expand|
|00002b90| 61 66 74 65 72 5c 69 66 | 78 5c 63 73 6e 61 6d 65 |after\if|x\csname|
|00002ba0| 20 40 6c 61 74 65 78 65 | 72 72 5c 65 6e 64 63 73 | @latexe|rr\endcs|
|00002bb0| 6e 61 6d 65 5c 72 65 6c | 61 78 0a 20 20 5c 63 61 |name\rel|ax. \ca|
|00002bc0| 74 63 6f 64 65 60 5c 3e | 3d 31 34 5c 65 6c 73 65 |tcode`\>|=14\else|
|00002bd0| 5c 63 61 74 63 6f 64 65 | 60 5c 3e 3d 39 5c 66 69 |\catcode|`\>=9\fi|
|00002be0| 5c 72 65 6c 61 78 0a 3e | 3e 5c 67 64 65 66 5c 74 |\relax.>|>\gdef\t|
|00002bf0| 77 6f 75 70 63 6c 65 61 | 72 70 61 67 65 7b 5c 63 |woupclea|rpage{\c|
|00002c00| 6c 65 61 72 70 61 67 65 | 5c 74 77 6f 75 70 40 65 |learpage|\twoup@e|
|00002c10| 6a 65 63 74 7d 0a 3e 3e | 5c 65 78 70 61 6e 64 61 |ject}.>>|\expanda|
|00002c20| 66 74 65 72 5c 40 74 65 | 6d 70 74 6f 6b 65 6e 61 |fter\@te|mptokena|
|00002c30| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 7b 5c 65 6e |\expanda|fter{\en|
|00002c40| 64 64 6f 63 75 6d 65 6e | 74 7d 0a 3e 3e 5c 78 64 |ddocumen|t}.>>\xd|
|00002c50| 65 66 5c 65 6e 64 64 6f | 63 75 6d 65 6e 74 7b 5c |ef\enddo|cument{\|
|00002c60| 6e 6f 65 78 70 61 6e 64 | 5c 74 77 6f 75 70 63 6c |noexpand|\twoupcl|
|00002c70| 65 61 72 70 61 67 65 5c | 74 68 65 5c 40 74 65 6d |earpage\|the\@tem|
|00002c80| 70 74 6f 6b 65 6e 61 7d | 0a 5c 65 6e 64 67 72 6f |ptokena}|.\endgro|
|00002c90| 75 70 0a 25 0a 25 20 46 | 6f 72 20 6d 6f 73 74 20 |up.%.% F|or most |
|00002ca0| 6f 74 68 65 72 20 6d 61 | 63 72 6f 20 70 61 63 6b |other ma|cro pack|
|00002cb0| 61 67 65 73 20 77 65 20 | 63 6f 75 6c 64 20 6a 75 |ages we |could ju|
|00002cc0| 73 74 20 6c 65 61 76 65 | 20 62 65 20 61 6e 64 20 |st leave| be and |
|00002cd0| 61 6c 6c 20 70 61 67 65 | 73 20 77 6f 75 6c 64 0a |all page|s would.|
|00002ce0| 25 20 61 6c 77 61 79 73 | 20 62 65 20 70 72 69 6e |% always| be prin|
|00002cf0| 74 65 64 20 62 65 63 61 | 75 73 65 20 6f 66 20 74 |ted beca|use of t|
|00002d00| 68 65 20 77 61 79 20 74 | 68 65 20 5c 65 6e 64 20 |he way t|he \end |
|00002d10| 70 72 69 6d 69 74 69 76 | 65 20 77 6f 72 6b 73 20 |primitiv|e works |
|00002d20| 28 65 78 63 65 70 74 20 | 74 68 61 74 0a 25 20 54 |(except |that.% T|
|00002d30| 65 58 20 77 69 6c 6c 20 | 67 6f 20 62 6f 6e 6b 65 |eX will |go bonke|
|00002d40| 72 73 20 77 69 74 68 20 | 74 68 65 20 62 6f 6f 6b |rs with |the book|
|00002d50| 6c 65 74 20 6c 61 79 6f | 75 74 29 2e 20 48 6f 77 |let layo|ut). How|
|00002d60| 65 76 65 72 2c 0a 25 20 | 73 6f 6d 65 74 69 6d 65 |ever,.% |sometime|
|00002d70| 73 20 61 20 62 6c 61 6e | 6b 20 66 69 6c 6c 65 72 |s a blan|k filler|
|00002d80| 20 70 61 67 65 20 77 6f | 75 6c 64 20 62 65 20 70 | page wo|uld be p|
|00002d90| 72 69 6e 74 65 64 20 2a | 77 69 74 68 2a 20 68 65 |rinted *|with* he|
|00002da0| 61 64 69 6e 67 73 2e 20 | 57 65 20 70 72 65 66 65 |adings. |We prefe|
|00002db0| 72 0a 25 20 74 68 65 20 | 66 69 6c 6c 65 72 20 70 |r.% the |filler p|
|00002dc0| 61 67 65 20 74 6f 20 62 | 65 20 74 72 75 6c 79 20 |age to b|e truly |
|00002dd0| 62 6c 61 6e 6b 2e 20 54 | 6f 20 61 63 68 69 65 76 |blank. T|o achiev|
|00002de0| 65 20 74 68 69 73 2c 20 | 20 77 65 20 68 61 63 6b |e this, | we hack|
|00002df0| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 0a | the def|inition.|
|00002e00| 25 20 6f 66 20 5c 65 6e | 64 2e 20 54 68 69 73 20 |% of \en|d. This |
|00002e10| 6d 61 79 20 63 61 75 73 | 65 20 70 72 6f 62 6c 65 |may caus|e proble|
|00002e20| 6d 73 20 77 69 74 68 20 | 73 6f 6d 65 20 6d 61 63 |ms with |some mac|
|00002e30| 72 6f 73 2e 0a 5c 65 78 | 70 61 6e 64 61 66 74 65 |ros..\ex|pandafte|
|00002e40| 72 5c 69 66 78 5c 63 73 | 6e 61 6d 65 20 40 6c 61 |r\ifx\cs|name @la|
|00002e50| 74 65 78 65 72 72 5c 65 | 6e 64 63 73 6e 61 6d 65 |texerr\e|ndcsname|
|00002e60| 5c 72 65 6c 61 78 0a 20 | 20 5c 6c 65 74 5c 74 77 |\relax. | \let\tw|
|00002e70| 6f 75 70 40 40 40 65 6e | 64 5c 65 6e 64 0a 20 20 |oup@@@en|d\end. |
|00002e80| 5c 64 65 66 5c 65 6e 64 | 7b 5c 74 77 6f 75 70 40 |\def\end|{\twoup@|
|00002e90| 65 6a 65 63 74 5c 74 77 | 6f 75 70 40 40 40 65 6e |eject\tw|oup@@@en|
|00002ea0| 64 7d 0a 20 20 5c 64 65 | 66 5c 74 77 6f 75 70 65 |d}. \de|f\twoupe|
|00002eb0| 6a 65 63 74 7b 5c 70 61 | 72 5c 76 66 69 6c 5c 73 |ject{\pa|r\vfil\s|
|00002ec0| 75 70 65 72 65 6a 65 63 | 74 5c 74 77 6f 75 70 40 |uperejec|t\twoup@|
|00002ed0| 65 6a 65 63 74 7d 0a 5c | 66 69 0a 25 0a 25 20 54 |eject}.\|fi.%.% T|
|00002ee0| 68 69 73 20 69 73 20 6f | 6e 65 20 77 6f 72 6b 61 |his is o|ne worka|
|00002ef0| 72 6f 75 6e 64 20 66 6f | 72 20 74 68 65 20 70 61 |round fo|r the pa|
|00002f00| 67 65 20 63 72 6f 73 73 | 2d 72 65 66 65 72 65 6e |ge cross|-referen|
|00002f10| 63 65 73 20 70 72 6f 62 | 6c 65 6d 0a 5c 64 65 66 |ces prob|lem.\def|
|00002f20| 5c 54 77 6f 75 70 57 72 | 69 74 65 73 7b 25 0a 20 |\TwoupWr|ites{%. |
|00002f30| 20 5c 6c 65 74 5c 54 77 | 6f 75 70 53 61 76 65 64 | \let\Tw|oupSaved|
|00002f40| 40 77 72 69 74 65 5c 77 | 72 69 74 65 0a 20 20 5c |@write\w|rite. \|
|00002f50| 6c 65 74 5c 54 77 6f 75 | 70 53 61 76 65 64 40 72 |let\Twou|pSaved@r|
|00002f60| 65 61 64 5c 72 65 61 64 | 0a 20 20 5c 6c 65 74 5c |ead\read|. \let\|
|00002f70| 54 77 6f 75 70 53 61 76 | 65 64 40 6f 70 65 6e 6f |TwoupSav|ed@openo|
|00002f80| 75 74 5c 6f 70 65 6e 6f | 75 74 0a 20 20 5c 6c 65 |ut\openo|ut. \le|
|00002f90| 74 5c 54 77 6f 75 70 53 | 61 76 65 64 40 63 6c 6f |t\TwoupS|aved@clo|
|00002fa0| 73 65 6f 75 74 5c 63 6c | 6f 73 65 6f 75 74 0a 20 |seout\cl|oseout. |
|00002fb0| 20 5c 64 65 66 5c 77 72 | 69 74 65 7b 5c 54 77 6f | \def\wr|ite{\Two|
|00002fc0| 75 70 53 61 76 65 64 40 | 77 72 69 74 65 2d 31 7b |upSaved@|write-1{|
|00002fd0| 7d 5c 69 6d 6d 65 64 69 | 61 74 65 5c 54 77 6f 75 |}\immedi|ate\Twou|
|00002fe0| 70 53 61 76 65 64 40 77 | 72 69 74 65 7d 25 0a 20 |pSaved@w|rite}%. |
|00002ff0| 20 5c 64 65 66 5c 72 65 | 61 64 7b 5c 54 77 6f 75 | \def\re|ad{\Twou|
|00003000| 70 53 61 76 65 64 40 77 | 72 69 74 65 2d 31 7b 7d |pSaved@w|rite-1{}|
|00003010| 5c 69 6d 6d 65 64 69 61 | 74 65 5c 54 77 6f 75 70 |\immedia|te\Twoup|
|00003020| 53 61 76 65 64 40 72 65 | 61 64 7d 25 0a 20 20 5c |Saved@re|ad}%. \|
|00003030| 64 65 66 5c 6f 70 65 6e | 6f 75 74 7b 5c 54 77 6f |def\open|out{\Two|
|00003040| 75 70 53 61 76 65 64 40 | 77 72 69 74 65 2d 31 7b |upSaved@|write-1{|
|00003050| 7d 5c 69 6d 6d 65 64 69 | 61 74 65 5c 54 77 6f 75 |}\immedi|ate\Twou|
|00003060| 70 53 61 76 65 64 40 6f | 70 65 6e 6f 75 74 7d 25 |pSaved@o|penout}%|
|00003070| 0a 20 20 5c 64 65 66 5c | 63 6c 6f 73 65 6f 75 74 |. \def\|closeout|
|00003080| 7b 5c 54 77 6f 75 70 53 | 61 76 65 64 40 77 72 69 |{\TwoupS|aved@wri|
|00003090| 74 65 2d 31 7b 7d 5c 69 | 6d 6d 65 64 69 61 74 65 |te-1{}\i|mmediate|
|000030a0| 5c 54 77 6f 75 70 53 61 | 76 65 64 40 63 6c 6f 73 |\TwoupSa|ved@clos|
|000030b0| 65 6f 75 74 7d 25 0a 20 | 20 5c 6c 65 74 5c 54 77 |eout}%. | \let\Tw|
|000030c0| 6f 75 70 57 72 69 74 65 | 73 5c 72 65 6c 61 78 7d |oupWrite|s\relax}|
|000030d0| 0a 25 0a 25 20 44 65 66 | 61 75 6c 74 73 3a 0a 5c |.%.% Def|aults:.\|
|000030e0| 64 65 66 5c 74 77 6f 75 | 70 61 72 74 69 63 6c 65 |def\twou|particle|
|000030f0| 7b 25 0a 20 20 5c 74 61 | 72 67 65 74 7b 5c 6d 61 |{%. \ta|rget{\ma|
|00003100| 67 73 74 65 70 6d 69 6e | 75 73 31 7d 7b 31 31 69 |gstepmin|us1}{11i|
|00003110| 6e 7d 7b 38 2e 35 69 6e | 7d 25 0a 20 20 5c 73 6f |n}{8.5in|}%. \so|
|00003120| 75 72 63 65 7b 5c 6d 61 | 67 73 74 65 70 30 7d 7b |urce{\ma|gstep0}{|
|00003130| 38 2e 35 69 6e 7d 7b 31 | 31 69 6e 7d 7d 0a 5c 64 |8.5in}{1|1in}}.\d|
|00003140| 65 66 5c 74 77 6f 75 70 | 70 6c 61 69 6e 7b 25 0a |ef\twoup|plain{%.|
|00003150| 20 20 5c 74 61 72 67 65 | 74 7b 5c 6d 61 67 73 74 | \targe|t{\magst|
|00003160| 65 70 6d 69 6e 75 73 32 | 7d 7b 31 31 69 6e 7d 7b |epminus2|}{11in}{|
|00003170| 38 2e 35 69 6e 7d 25 0a | 20 20 5c 73 6f 75 72 63 |8.5in}%.| \sourc|
|00003180| 65 7b 5c 6d 61 67 73 74 | 65 70 30 7d 7b 38 2e 35 |e{\magst|ep0}{8.5|
|00003190| 69 6e 7d 7b 31 31 69 6e | 7d 7d 0a 5c 64 65 66 5c |in}{11in|}}.\def\|
|000031a0| 74 77 6f 75 70 6c 65 67 | 61 6c 74 61 72 67 65 74 |twoupleg|altarget|
|000031b0| 7b 25 0a 20 20 5c 74 61 | 72 67 65 74 7b 5c 6d 61 |{%. \ta|rget{\ma|
|000031c0| 67 73 74 65 70 6d 69 6e | 75 73 31 7d 7b 31 34 69 |gstepmin|us1}{14i|
|000031d0| 6e 7d 7b 38 2e 35 69 6e | 7d 25 0a 20 20 5c 73 6f |n}{8.5in|}%. \so|
|000031e0| 75 72 63 65 7b 5c 6d 61 | 67 73 74 65 70 30 7d 7b |urce{\ma|gstep0}{|
|000031f0| 38 2e 35 69 6e 7d 7b 31 | 31 69 6e 7d 7d 25 0a 5c |8.5in}{1|1in}}%.\|
|00003200| 64 65 66 5c 74 77 6f 75 | 70 6c 61 6e 64 73 63 61 |def\twou|plandsca|
|00003210| 70 65 7b 25 0a 20 20 5c | 74 61 72 67 65 74 7b 5c |pe{%. \|target{\|
|00003220| 6d 61 67 73 74 65 70 6d | 69 6e 75 73 32 7d 7b 38 |magstepm|inus2}{8|
|00003230| 2e 35 69 6e 7d 7b 31 31 | 69 6e 7d 25 0a 20 20 5c |.5in}{11|in}%. \|
|00003240| 73 6f 75 72 63 65 7b 5c | 6d 61 67 73 74 65 70 30 |source{\|magstep0|
|00003250| 7d 7b 31 31 69 6e 7d 7b | 38 2e 35 69 6e 7d 25 0a |}{11in}{|8.5in}%.|
|00003260| 20 20 5c 74 61 72 67 65 | 74 6c 61 79 6f 75 74 7b | \targe|tlayout{|
|00003270| 74 6f 70 62 6f 74 74 6f | 6d 7d 7d 0a 5c 65 78 70 |topbotto|m}}.\exp|
|00003280| 61 6e 64 61 66 74 65 72 | 5c 69 66 78 5c 63 73 6e |andafter|\ifx\csn|
|00003290| 61 6d 65 20 40 6c 61 74 | 65 78 65 72 72 5c 65 6e |ame @lat|exerr\en|
|000032a0| 64 63 73 6e 61 6d 65 5c | 72 65 6c 61 78 0a 20 20 |dcsname\|relax. |
|000032b0| 5c 74 77 6f 75 70 70 6c | 61 69 6e 5c 65 6c 73 65 |\twouppl|ain\else|
|000032c0| 5c 74 77 6f 75 70 61 72 | 74 69 63 6c 65 5c 66 69 |\twoupar|ticle\fi|
|000032d0| 0a 5c 70 61 67 65 73 65 | 70 77 69 64 74 68 20 30 |.\pagese|pwidth 0|
|000032e0| 70 74 0a 5c 70 61 67 65 | 73 65 70 6c 65 6e 67 74 |pt.\page|seplengt|
|000032f0| 68 20 36 2e 35 69 6e 0a | 5c 70 61 67 65 73 65 70 |h 6.5in.|\pagesep|
|00003300| 6f 66 66 73 65 74 20 31 | 69 6e 0a 25 0a 5c 65 78 |offset 1|in.%.\ex|
|00003310| 70 61 6e 64 61 66 74 65 | 72 5c 63 61 74 63 6f 64 |pandafte|r\catcod|
|00003320| 65 60 5c 40 3d 5c 54 68 | 65 41 74 43 6f 64 65 5c |e`\@=\Th|eAtCode\|
|00003330| 72 65 6c 61 78 0a 5c 65 | 6e 64 69 6e 70 75 74 0a |relax.\e|ndinput.|
|00003340| 25 25 20 45 4e 44 20 32 | 75 70 2e 74 65 78 2f 32 |%% END 2|up.tex/2|
|00003350| 75 70 2e 73 74 79 0a | |up.sty. | |
+--------+-------------------------+-------------------------+--------+--------+